diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2017-04-14 20:45:37 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2017-04-14 20:45:37 +0900 |
| commit | b095efaee59572800244b34564692fd999cc4ded (patch) | |
| tree | 89a2a1401b2af797bb687d0d79cfb5e9e52d987e /src/api/private | |
| parent | Fix tslint.json (diff) | |
| download | sharkey-b095efaee59572800244b34564692fd999cc4ded.tar.gz sharkey-b095efaee59572800244b34564692fd999cc4ded.tar.bz2 sharkey-b095efaee59572800244b34564692fd999cc4ded.zip | |
Migrate to tslint 5.1.0
Diffstat (limited to 'src/api/private')
| -rw-r--r-- | src/api/private/signup.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/private/signup.ts b/src/api/private/signup.ts index bd2a7ef02a..2375c22845 100644 --- a/src/api/private/signup.ts +++ b/src/api/private/signup.ts @@ -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({ |