diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-01-06 12:32:55 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-01-06 12:32:55 +0900 |
| commit | a7e646e7c1fc2c9aea2078cfa299744898140c88 (patch) | |
| tree | 484b89c0eef4ea8f2cefe5b7deb3666a3f04ed7f /src/api/authenticate.ts | |
| parent | [API] Improve: Better error message (diff) | |
| download | sharkey-a7e646e7c1fc2c9aea2078cfa299744898140c88.tar.gz sharkey-a7e646e7c1fc2c9aea2078cfa299744898140c88.tar.bz2 sharkey-a7e646e7c1fc2c9aea2078cfa299744898140c88.zip | |
[API] Clean up
Diffstat (limited to 'src/api/authenticate.ts')
| -rw-r--r-- | src/api/authenticate.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/authenticate.ts b/src/api/authenticate.ts index 6b70b0bfa8..50a55e51b7 100644 --- a/src/api/authenticate.ts +++ b/src/api/authenticate.ts @@ -22,7 +22,7 @@ export interface IAuthContext { } export default (req: express.Request) => new Promise<IAuthContext>(async (resolve, reject) => { - const token = req.body['i'] || req.body['_userkey']; // そのうち_userkeyは削除 + const token = req.body['i']; if (token == null) { return resolve({ app: null, user: null, isSecure: false }); |