Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 82a86b9

Browse files
committed
AuthRemote: Disable the local copy of the user when doing master/slave, should fix #382 and fix #40
1 parent 2c0752b commit 82a86b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/plugins/auth.multi/class.multiAuthDriver.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,13 @@ public function checkPassword($login, $pass, $seed)
347347
if ($this->drivers[$this->masterName]->userExists($login)) {
348348
// check master, and refresh slave if necessary
349349
if ($this->drivers[$this->masterName]->checkPassword($login, $pass, $seed)) {
350+
/*
350351
if ($this->drivers[$this->slaveName]->userExists($login)) {
351352
$this->drivers[$this->slaveName]->changePassword($login, $pass);
352353
} else {
353354
$this->drivers[$this->slaveName]->createUser($login, $pass);
354355
}
356+
*/
355357
return true;
356358
} else {
357359
return false;

0 commit comments

Comments
 (0)