şunun yansıması
https://github.com/nextcloud/server.git
eşitlendi 2024-08-12 14:11:31 +02:00
Properly hide strengthify after password change
Bu işleme şunda yer alıyor:
ebeveyn
cd818e7419
işleme
14dc36efe6
2
core/vendor/strengthify/jquery.strengthify.js
sağlanmış
2
core/vendor/strengthify/jquery.strengthify.js
sağlanmış
@ -58,7 +58,7 @@
|
||||
dataType: 'script',
|
||||
url: options.zxcvbn
|
||||
}).done(function() {
|
||||
me.bind('keyup input', function() {
|
||||
me.bind('keyup input change', function() {
|
||||
var password = $(this).val(),
|
||||
// hide strengthigy if no input is provided
|
||||
opacity = (password === '') ? 0 : 1,
|
||||
|
@ -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');
|
||||
|
Yükleniyor…
Yeni konuda referans
Bir kullanıcı engelle