Modify user / re-enter password

Questions related to using nuBuilder Forte.

Modify user / re-enter password

Postby toms » Tue Feb 06, 2018 12:06 pm

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
password_enter_again.PNG (4.78 KiB) Viewed 988 times
toms
 

Re: Modify user / re-enter password

Postby admin » Tue Feb 06, 2018 4:42 pm

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
admin
Site Admin
 
Posts: 3292
Joined: Mon Jun 15, 2009 9:53 am

Re: Modify user / re-enter password

Postby toms » Tue Feb 06, 2018 5:48 pm

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.
toms
 

Re: Modify user / re-enter password

Postby admin » Tue Feb 06, 2018 6:02 pm

toms,

Sorry about that.

I have updated Github again.

Please tell me if it works now.

Steven
admin
Site Admin
 
Posts: 3292
Joined: Mon Jun 15, 2009 9:53 am

Re: Modify user / re-enter password

Postby toms » Wed Feb 14, 2018 10:31 pm

It works now.
toms
 

Re: Modify user / re-enter password

Postby admin » Thu Feb 15, 2018 5:20 am

.
admin
Site Admin
 
Posts: 3292
Joined: Mon Jun 15, 2009 9:53 am


Return to General