Page 1 of 1

Modify user / re-enter password

Posted: Tue Feb 06, 2018 3:36 am
by toms
Hi,

Whenever I need to modify an existing user (e.g. changing the access level), the password must be re-entered every time. Normally, you should not have to enter it again, as it is unchanged.
Therefore, I'm kind of forced to manage the passwords and logins in a separate list (Excel).

Is there any way to change this behavior? (IIRC re-entering the password was not necessary in nuBuilderPro )

By the way, there is no check to verify that the two entered passwords match.

nuBuilderPro did this check:

Code: Select all

function nuOnSave() {
	//checkPasswords
	if(document.getElementById('nuretyped').value != document.getElementById('nupassword').value) {
		alert("'New Password' and 'Retype New Password' do not match..");
		return false;
	} else if(document.getElementById('sus_login_password').value == '' && document.getElementById('nuretyped').value == '') {
		alert("'New Password' and 'Retype New Password' do not match..");
		return false;
	}
	return true;
}
password_enter_again.PNG

Re: Modify user / re-enter password

Posted: Tue Feb 06, 2018 8:12 am
by admin
toms,

I have made some changes to the User Form and put it on Github.

Can you please give it a test.

You'll need to Run Update.

Steven

Re: Modify user / re-enter password

Posted: Tue Feb 06, 2018 9:18 am
by toms
Steven,

'm still prompted to enter the password.

Steps to reproduce:
- Home ► User
- Select a user from the Browse Form
- Change the Access level
- Hit save

The message appears:
Enter New Password cannot be left blank
Reenter New Password cannot be left blank
I've tested it in two different nuBuilder instances with the same result.

Re: Modify user / re-enter password

Posted: Tue Feb 06, 2018 9:32 am
by admin
toms,

Sorry about that.

I have updated Github again.

Please tell me if it works now.

Steven

Re: Modify user / re-enter password

Posted: Wed Feb 14, 2018 2:01 pm
by toms
It works now.

Re: Modify user / re-enter password

Posted: Wed Feb 14, 2018 8:50 pm
by admin
.