Fix linting errors
This commit is contained in:
parent
ef4a8d7ea1
commit
9671cd0687
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ export function createUser(req, res, next) {
|
||||||
const EMAIL_VERIFY_TOKEN_EXPIRY_TIME = Date.now() + (3600000 * 24); // 24 hours
|
const EMAIL_VERIFY_TOKEN_EXPIRY_TIME = Date.now() + (3600000 * 24); // 24 hours
|
||||||
random((tokenError, token) => {
|
random((tokenError, token) => {
|
||||||
const user = new User({
|
const user = new User({
|
||||||
username: username,
|
username,
|
||||||
email: emailLowerCase,
|
email: emailLowerCase,
|
||||||
password,
|
password,
|
||||||
verified: User.EmailConfirmation.Sent,
|
verified: User.EmailConfirmation.Sent,
|
||||||
|
|
Loading…
Reference in a new issue