summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
diff options
context:
space:
mode:
authorRoger Szabo <roger.szabo@web.de>2017-03-31 15:27:50 +0800
committerRoger Szabo <roger.szabo@web.de>2017-03-31 15:27:50 +0800
commit1853c1ade2c985c2476e60246d52d3496b4e5ab3 (patch)
tree94936bf528f01b6fc060ff65c00d3d2e57bb6b3b /apps/user_ldap/lib
parent5e7723f15c7e4ba31b0a5d35d22fd3a22e45ec81 (diff)
downloadnextcloud-server-1853c1ade2c985c2476e60246d52d3496b4e5ab3.tar.gz
nextcloud-server-1853c1ade2c985c2476e60246d52d3496b4e5ab3.zip
remove redundant tabs
Signed-off-by: Roger Szabo <roger.szabo@web.de>
Diffstat (limited to 'apps/user_ldap/lib')
-rw-r--r--apps/user_ldap/lib/User/User.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/user_ldap/lib/User/User.php b/apps/user_ldap/lib/User/User.php
index 24abab7b460..60c487fdb7c 100644
--- a/apps/user_ldap/lib/User/User.php
+++ b/apps/user_ldap/lib/User/User.php
@@ -630,10 +630,10 @@ class User {
//handle pwdReset attribute
$pwdReset = $this->access->readAttribute($this->dn, 'pwdReset');
if($pwdReset && (count($pwdReset) > 0) && $pwdReset[0] === 'TRUE') { //user must change his password
- $this->config->setUserValue($uid, 'user_ldap', 'needsPasswordReset', 'true');
- header('Location: '.\OC::$server->getURLGenerator()->linkToRouteAbsolute(
- 'user_ldap.renewPassword.showRenewPasswordForm', array('user' => $uid)));
- exit();
+ $this->config->setUserValue($uid, 'user_ldap', 'needsPasswordReset', 'true');
+ header('Location: '.\OC::$server->getURLGenerator()->linkToRouteAbsolute(
+ 'user_ldap.renewPassword.showRenewPasswordForm', array('user' => $uid)));
+ exit();
}
//handle password expiry warning
$pwdChangedTime = $this->access->readAttribute($this->dn, 'pwdChangedTime');//for efficiency read only 1 attribute first