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

Commit 19d91eb

Browse files
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents b790df3 + 8cc35a9 commit 19d91eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/plugins/auth.smb/class.smbAuthDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function checkPassword($login, $pass, $seed)
7272
if(!empty($domain)){
7373
$login = $domain.$login;
7474
}
75-
$strTmp = "$login:$pass@".$host."/".$basePath."/".$smbPath."/";
75+
$strTmp = "$login:$pass@".$host."/".$basePath."/";
7676
$strTmp = str_replace("//", "/",$strTmp);
7777
$url = "smb://".$strTmp;
7878
try {

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)