MAke ApiUser::CheckPassword() const

refs #9471
This commit is contained in:
Michael Friedrich 2015-07-02 09:26:43 +02:00
parent 93177ee09a
commit 8450cb5d6c
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ void ApiUser::SetPassword(const String& password)
SetPasswordRaw(password);
}
bool ApiUser::CheckPassword(const String& password)
bool ApiUser::CheckPassword(const String& password) const
{
return password == GetPasswordRaw();
}

View File

@ -37,7 +37,7 @@ public:
String GetPassword(void) const;
void SetPassword(const String& password);
bool CheckPassword(const String& password);
bool CheckPassword(const String& password) const;
};
}