Add missing assert in user model
This commit is contained in:
parent
8a469d1d28
commit
6bb0ba2d95
|
@ -15,7 +15,8 @@ var Model = require('../loopback').Model
|
||||||
, DEFAULT_RESET_PW_TTL = 15 * 60 // 15 mins in seconds
|
, DEFAULT_RESET_PW_TTL = 15 * 60 // 15 mins in seconds
|
||||||
, DEFAULT_MAX_TTL = 31556926 // 1 year in seconds
|
, DEFAULT_MAX_TTL = 31556926 // 1 year in seconds
|
||||||
, Role = require('./role').Role
|
, Role = require('./role').Role
|
||||||
, ACL = require('./acl').ACL;
|
, ACL = require('./acl').ACL
|
||||||
|
, assert = require('assert');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default User properties.
|
* Default User properties.
|
||||||
|
|
Loading…
Reference in New Issue