Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Modify user / re-enter password

Questions related to using nuBuilder Forte.
Locked
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Modify user / re-enter password

Unread post 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
You do not have the required permissions to view the files attached to this post.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Modify user / re-enter password

Unread post 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
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Modify user / re-enter password

Unread post 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.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Modify user / re-enter password

Unread post by admin »

toms,

Sorry about that.

I have updated Github again.

Please tell me if it works now.

Steven
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Modify user / re-enter password

Unread post by toms »

It works now.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Modify user / re-enter password

Unread post by admin »

.
Locked