Some work

This commit is contained in:
Alex Solomaha
2016-09-08 20:54:43 +03:00
parent 7ebad90e63
commit 88ee886e69
7 changed files with 180 additions and 215 deletions

View File

@@ -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;
}
}