mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
fix some shit
This commit is contained in:
parent
3f46923de3
commit
089a967106
2
ajax.php
2
ajax.php
@ -3,7 +3,7 @@
|
||||
* @Author: printempw
|
||||
* @Date: 2016-01-16 23:01:33
|
||||
* @Last Modified by: prpr
|
||||
* @Last Modified time: 2016-01-17 00:01:57
|
||||
* @Last Modified time: 2016-01-17 00:17:39
|
||||
*
|
||||
* All ajax requests will be handled here
|
||||
*/
|
||||
|
@ -3,7 +3,7 @@
|
||||
* @Author: printempw
|
||||
* @Date: 2016-01-16 23:01:33
|
||||
* @Last Modified by: prpr
|
||||
* @Last Modified time: 2016-01-17 00:13:55
|
||||
* @Last Modified time: 2016-01-17 00:18:28
|
||||
*/
|
||||
|
||||
class user {
|
||||
@ -19,7 +19,7 @@ class user {
|
||||
if (utils::select('username', $this -> uname)['uid'] == 1) {
|
||||
$this -> is_admin = true;
|
||||
}
|
||||
if (utils::select('username', $this -> uname)['password'] !== "") {
|
||||
if (utils::select('username', $this -> uname)['password'] != "") {
|
||||
$this -> passwd = utils::select('username', $this -> uname)['password'];
|
||||
$this -> is_registered = true;
|
||||
$this -> token = md5($this -> uname.$this -> passwd.SALT);
|
||||
|
Loading…
Reference in New Issue
Block a user