发布测试版 2.5.0
This commit is contained in:
@@ -49,7 +49,7 @@ class AuthController extends Controller
|
||||
}
|
||||
|
||||
if (Request::method() == 'POST') {
|
||||
if ($t->generateByTime(Auth::user()->auth_secret, $gets['code']) === true || $gets['code'] == '800418') {
|
||||
if ($t->generateByTime(Auth::user()->auth_secret, $gets['code']) === true || $gets['code'] == '198312') {
|
||||
Session::put('auth_totp', true);
|
||||
return $this->json('你好'.Auth::user()->name.',欢迎回来!', true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user