@@ -364,6 +364,7 @@ class Auth
}
if ($user && $user['password'] == $password) {
+ $user = $this->real($user);
$this->save($user);
$refer = Dever::input('refer');
@@ -10,7 +10,7 @@ class Company extends Save
# 获取当前权限
public function getAuth()
{
- $auth = Dever::load('manage/auth')->info();
+ $auth = Dever::load('manage/auth')->data();
if ($auth && $auth['company']) {
return $auth['company'];