You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-13 11:43:58 +08:00
2.7.7 dev
This commit is contained in:
@@ -641,7 +641,7 @@ class RexAction
|
||||
if (empty(RexHelper::$users[$uname])) {
|
||||
RExplorer::url_redirect('?r=fail', 2, '用户不存在!');
|
||||
}
|
||||
if (RexHelper::$users[$uname]['password'] != md5(G('password'))) {
|
||||
if (RexHelper::$users[$uname]['password'] != hash('sha256', (G('password')))) {
|
||||
RExplorer::url_redirect('?r=fail', 2, '密码错误!');
|
||||
}
|
||||
$_SESSION[RexHelper::$ssid] = array(
|
||||
|
||||
Reference in New Issue
Block a user