...
|
...
|
@@ -49,7 +49,7 @@ router.post('/passport/login/auth', validateCode.check, login.local.login); |
|
|
|
|
|
// SMS 短信
|
|
|
router.use('/passport/sms_login', login.common.beforeLogin, smsLogin.beforeIn);
|
|
|
router.get('/passport/sms_login', validateCode.load, login.common.clearCookie, smsLogin.loginPage);
|
|
|
router.get('/passport/sms_login', validateCode.load, smsLogin.loginPage);
|
|
|
router.post('/passport/sms_login/step1_check', validateCode.check, smsLogin.indexCheck);
|
|
|
router.get('/passport/sms_login/token.json',
|
|
|
smsLogin.tokenBefore,
|
...
|
...
|
|