mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-01 07:20:56 +00:00
修改登录密码解密
This commit is contained in:
parent
488e32afa1
commit
e497156675
@ -105,6 +105,9 @@ class Login extends AuthController
|
||||
}
|
||||
|
||||
try {
|
||||
if (strlen(trim($password)) > 500) {
|
||||
return app('json')->fail(400762);
|
||||
}
|
||||
$password = $rsa->privateDecrypt($password);
|
||||
} catch (\Throwable $e) {
|
||||
return app('json')->fail($e->getMessage());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user