Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
f79d0666
Commit
f79d0666
authored
Apr 13, 2015
by
poixen
Browse files
Merge pull request #964 from poixen/unreg_usernames
Updated server side user name check
parents
72222c0b
0979f8fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
servatrice/src/servatrice_database_interface.cpp
View file @
f79d0666
...
@@ -113,7 +113,7 @@ bool Servatrice_DatabaseInterface::usernameIsValid(const QString &user)
...
@@ -113,7 +113,7 @@ bool Servatrice_DatabaseInterface::usernameIsValid(const QString &user)
}
}
}
}
result
=
result
.
trimmed
();
result
=
result
.
trimmed
();
return
(
result
.
size
()
>
0
);
return
(
result
.
size
()
==
user
.
size
()
);
}
}
bool
Servatrice_DatabaseInterface
::
getRequireRegistration
()
bool
Servatrice_DatabaseInterface
::
getRequireRegistration
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment