summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-10-07 15:58:37 +0200
committerVincent Petry <pvince81@owncloud.com>2015-10-07 17:56:28 +0200
commit14dc36efe6326d1f626a41c4295f570a729d57ae (patch)
tree71c5e7dc22e6bb097d489151b7f815917e8d1d33 /settings
parentcd818e7419fb39d97683ecc5803534b0ed632596 (diff)
downloadnextcloud-server-14dc36efe6326d1f626a41c4295f570a729d57ae.tar.gz
nextcloud-server-14dc36efe6326d1f626a41c4295f570a729d57ae.zip
Properly hide strengthify after password change
Diffstat (limited to 'settings')
-rw-r--r--settings/js/personal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index 33746d22aca..eef669eeb73 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -188,7 +188,7 @@ $(document).ready(function () {
$.post(OC.generateUrl('/settings/personal/changepassword'), post, function (data) {
if (data.status === "success") {
$('#pass1').val('');
- $('#pass2').val('');
+ $('#pass2').val('').change();
// Hide a possible errormsg and show successmsg
$('#password-changed').removeClass('hidden').addClass('inlineblock');
$('#password-error').removeClass('inlineblock').addClass('hidden');