Migrate to tslint 5.1.0
This commit is contained in:
parent
798d1610f0
commit
b095efaee5
16 changed files with 107 additions and 95 deletions
|
|
@ -58,7 +58,7 @@ export default async (req: express.Request, res: express.Response) => {
|
|||
const hash = bcrypt.hashSync(password, salt);
|
||||
|
||||
// Generate secret
|
||||
const secret = '!' + rndstr('a-zA-Z0-9', 32);
|
||||
const secret = `!${rndstr('a-zA-Z0-9', 32)}`;
|
||||
|
||||
// Create account
|
||||
const account = await User.insert({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue