diff options
author | Frank Karlitschek <karlitschek@kde.org> | 2011-08-11 17:49:36 +0200 |
---|---|---|
committer | Frank Karlitschek <karlitschek@kde.org> | 2011-08-11 17:49:36 +0200 |
commit | aa582ec43a9060f5f9fba6540d1ea4e24bc70330 (patch) | |
tree | aefed6544e55ccd07b9367c523859387c97d00d3 /settings/ajax/changepassword.php | |
parent | 4a334f0d12c70196cb2e09515c7580544e896d98 (diff) | |
download | nextcloud-server-aa582ec43a9060f5f9fba6540d1ea4e24bc70330.tar.gz nextcloud-server-aa582ec43a9060f5f9fba6540d1ea4e24bc70330.zip |
more work on encryption
Diffstat (limited to 'settings/ajax/changepassword.php')
-rw-r--r-- | settings/ajax/changepassword.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/ajax/changepassword.php b/settings/ajax/changepassword.php index c8c1f740889..750edf17696 100644 --- a/settings/ajax/changepassword.php +++ b/settings/ajax/changepassword.php @@ -29,6 +29,7 @@ if( !OC_User::checkPassword( $_SESSION["user_id"], $_POST["oldpassword"] )){ // Change password if( OC_User::setPassword( $_SESSION["user_id"], $_POST["password"] )){ echo json_encode( array( "status" => "success", "data" => array( "message" => $l->t("Password changed") ))); + OC_Crypt::changekeypasscode( $_POST["password"]) { } else{ echo json_encode( array( "status" => "error", "data" => array( "message" => $l->t("Unable to change password") ))); |