diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2016-06-21 15:39:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-21 15:39:01 +0200 |
commit | 195fc5b048a3b292fea5128da3fbf2651b7f0931 (patch) | |
tree | 52633c27a6d6914529255b2cc792e56ff603f337 /settings | |
parent | 1452b74de7f5a3b3afae546b757d2a3889857a61 (diff) | |
parent | db11c20dcb3c8848305b22dac68410864203f1e2 (diff) | |
download | nextcloud-server-195fc5b048a3b292fea5128da3fbf2651b7f0931.tar.gz nextcloud-server-195fc5b048a3b292fea5128da3fbf2651b7f0931.zip |
Merge pull request #25196 from owncloud/update-session-token-password
update session token password on user password change
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ChangePassword/Controller.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/ChangePassword/Controller.php b/settings/ChangePassword/Controller.php index 5a6c985f181..1f3ea1b446a 100644 --- a/settings/ChangePassword/Controller.php +++ b/settings/ChangePassword/Controller.php @@ -46,6 +46,7 @@ class Controller { exit(); } if (!is_null($password) && \OC_User::setPassword($username, $password)) { + \OC::$server->getUserSession()->updateSessionTokenPassword($password); \OC_JSON::success(); } else { \OC_JSON::error(); |