mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-07 06:18:00 +00:00
Make password an attribute
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
parent
4318488937
commit
c4c04ebcf4
3 changed files with 9 additions and 14 deletions
|
|
@ -15,7 +15,7 @@ readonly class AuthManager {
|
|||
}
|
||||
|
||||
public function CheckCredentials(string $password) : bool {
|
||||
return hash_equals($this->configurationManager->GetPassword(), $password);
|
||||
return hash_equals($this->configurationManager->password, $password);
|
||||
}
|
||||
|
||||
public function CheckToken(string $token) : bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue