Welcome to the nuBuilder Forums!

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

Error occurs when changing user password

Questions related to using nuBuilder Forte.
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Error occurs when changing user password

Unread post by gerese »

Hi,
In version V.4.5-2022.01.19.02 , a nuDebug error occurs when changing user password. The password generated, in the database is md5, although in nuconfig.php the parameter "$nuUseMd5PasswordHash = false;" is set to false.
nuBuilderForte .... BIG Like !!!
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Error occurs when changing user password

Unread post by kev1n »

Is you db up-to-date? No error occurs here.
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: Error occurs when changing user password

Unread post by gerese »

Hi,
I tested on a clean installation.
DB Version: V.4.5-2022.01.18.00
Files Version: V.4.5-2022.01.19.02
Apache Version: 2.4.46
PHP Version: 7.4.9
MariaDB Version: 10.5.12
WAMP Version 3.2.5 - 64bit
user error.gif
You do not have the required permissions to view the files attached to this post.
nuBuilderForte .... BIG Like !!!
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Error occurs when changing user password

Unread post by kev1n »

I first assumed that the problem occurs when the user changes a password himself.
I just tested it with an old nu 4.0 version. The problem already occurred there.
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Error occurs when changing user password

Unread post by kev1n »

I think this is fixed now.
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: Error occurs when changing user password

Unread post by gerese »

Hi,
I have the same error only when the user logged in to his page changes his password himself. With or without checkPasswordPolicy same result.
nuBuilderForte .... BIG Like !!!
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Error occurs when changing user password

Unread post by kev1n »

The error is only visible in "nuDebug Results" but the password is changed nonetheless.
I'm going to change the password dialog into a Launch form to get rid of that error.
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: Error occurs when changing user password

Unread post by gerese »

Hi,
kev1n wrote: Sun Jan 23, 2022 6:59 am The error is only visible in "nuDebug Results" but the password is changed nonetheless.
True, but I have a devil :twisted: in my brain who won't let me live with the error. :lol:
nuBuilderForte .... BIG Like !!!
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Error occurs when changing user password

Unread post by kev1n »

The change is now on Github. Please tests it. Thanks!
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: Error occurs when changing user password

Unread post by gerese »

Hello,
on a clean installation, it works without errors.
I updated to the current version, after the update I found that the "CHANGEPASSWORD" procedure is missing. I don't know why the "CHANGEPASSWORD" procedure was not copied to the database.
error_passw.jpg
You do not have the required permissions to view the files attached to this post.
Last edited by gerese on Mon Jan 24, 2022 2:59 pm, edited 2 times in total.
nuBuilderForte .... BIG Like !!!
Post Reply