login consistency fix; limit length of user names to 35

This commit is contained in:
Max-Wilhelm Bruker 2011-02-23 23:46:18 +01:00
parent a4552a1596
commit 102e246c6d
5 changed files with 27 additions and 2 deletions

View file

@ -48,6 +48,7 @@ public:
QString getDbPrefix() const { return dbPrefix; }
void updateLoginMessage();
protected:
bool userExists(const QString &user);
AuthenticationResult checkUserPassword(const QString &user, const QString &password);
ServerInfo_User *getUserData(const QString &name);
QList<ServerInfo_User *> getBuddyList(const QString &name);