Fix regression which hides the password change form

This came in via https://github.com/wekan/wekan/pull/5032/files as I
wasn't aware the class name was reused. Unfortunately I couldn't find
how to create an explicit new class name for only the password change
form, so we show the form in code now.

Fixes #5144
This commit is contained in:
Johannes Zellner 2023-09-28 12:29:00 +02:00
parent a130e9b52b
commit 79e61f6d64

View file

@ -248,6 +248,7 @@ Template.editProfilePopup.events({
// XXX For some reason the useraccounts autofocus isnt working in this case.
// See https://github.com/meteor-useraccounts/core/issues/384
Template.changePasswordPopup.onRendered(function() {
$('.at-pwd-form').show();
this.find('#at-field-current_password').focus();
});