mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Adjust method comment to match usage
* The ice authenticator API was changed to allow returning -3 on auths, the method comment of Server::authenticate now reflects this change as well. ** See88d41e10,6e8c8939* The surrounding code already checks for the return value -3 (caller of method Server::msgAuthenticate)
This commit is contained in:
parent
97cf80de70
commit
cdcf77c06b
@ -840,9 +840,8 @@ QMap<int, QString> Server::getRegistration(int id) {
|
||||
return info;
|
||||
}
|
||||
|
||||
// -1 Wrong PW
|
||||
// -2 Anonymous
|
||||
|
||||
/// @return UserID of authenticated user, -1 for authentication failures, -2 for unknown user (fallthrough),
|
||||
/// -3 for authentication failures where the data could (temporarily) not be verified.
|
||||
int Server::authenticate(QString &name, const QString &pw, int sessionId, const QStringList &emails, const QString &certhash, bool bStrongCert, const QList<QSslCertificate> &certs) {
|
||||
int res = -2;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user