mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 09:04:53 -07:00
force users to log out their unregistered session after logging in with a new registered account
This commit is contained in:
parent
1bee788210
commit
3bb1d9a1de
6 changed files with 10 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ class Server_Room;
|
|||
class Server_ProtocolHandler;
|
||||
class ServerInfo_User;
|
||||
|
||||
enum AuthenticationResult { PasswordWrong = 0, PasswordRight = 1, UnknownUser = 2 };
|
||||
enum AuthenticationResult { PasswordWrong = 0, PasswordRight = 1, UnknownUser = 2, WouldOverwriteOldSession = 3 };
|
||||
|
||||
class Server : public QObject
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue