mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
publish username rules in registration failure
This commit is contained in:
parent
9947af7be9
commit
4c27304047
5 changed files with 57 additions and 12 deletions
|
|
@ -62,7 +62,7 @@ public:
|
|||
void lockSessionTables();
|
||||
void unlockSessionTables();
|
||||
bool userSessionExists(const QString &userName);
|
||||
bool usernameIsValid(const QString &user);
|
||||
bool usernameIsValid(const QString &user, QString & error);
|
||||
bool checkUserIsBanned(const QString &ipAddress, const QString &userName, QString &banReason, int &banSecondsRemaining);
|
||||
|
||||
bool getRequireRegistration();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue