mirror of https://github.com/Icinga/icinga2.git
parent
93177ee09a
commit
8450cb5d6c
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue