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

Commit 9a9fa68

Browse files
committed
AuthService test userExist and create new
1 parent d57bd98 commit 9a9fa68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/plugins/core.conf/class.AbstractConfDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ public function switchAction($action, $httpVars, $fileVars)
724724
if($original_id != $data["new_user_id"]){
725725
throw new Exception(str_replace("%s", $data["new_user_id"], $mess["ajxp_conf.127"]));
726726
}
727-
if (AuthService::userExists($data["new_user_id"])) {
727+
if (AuthService::userExists($data["new_user_id"],"w")) {
728728
throw new Exception($mess["ajxp_conf.43"]);
729729
}
730730
$loggedUser = AuthService::getLoggedUser();

0 commit comments

Comments
 (0)