mirror of
https://github.com/CyanoFresh/SmartHomePHP.git
synced 2026-03-13 05:16:53 +01:00
Some work
This commit is contained in:
@@ -18,12 +18,6 @@ class WebSocketAuth
|
||||
return null;
|
||||
}
|
||||
|
||||
$auth_key = $user->auth_key;
|
||||
|
||||
// Regenerate auth key
|
||||
$user->generateAuthKey();
|
||||
$user->save();
|
||||
|
||||
return $auth_key;
|
||||
return $user->auth_key;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user