mirror of
https://e.coding.net/circlecloud/McAccount.git
synced 2025-09-08 07:57:49 +00:00
@ -33,7 +33,7 @@ class user_public extends AmysqlController {
|
||||
}
|
||||
}
|
||||
function clientlogout() {
|
||||
if ($this->_model ( "authme" )->login ( @$_REQUEST ['user'], md5 ( @$_REQUEST ['pass'] ) )) {
|
||||
if ($this->_model ( "authme" )->clientlogout ( @$_REQUEST ['user'])) {
|
||||
$_SESSION ['username'] = @$_REQUEST ['user'];
|
||||
JsonSuccess ( '登陆成功!' );
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user