Welcome to the nuBuilder Forums!

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

nuBuilder 4 - Self-Service Password Reset - NOT WORKING

Questions related to using nuBuilder Forte.
Post Reply
icoso
Posts: 181
Joined: Sun Feb 07, 2021 11:09 pm
Been thanked: 1 time

nuBuilder 4 - Self-Service Password Reset - NOT WORKING

Unread post by icoso »

I just tried to setup the password recovery code found here:

https://github.com/smalos/nubuilder-password-recovery

I followed ALL the instructions.

Now when I login I constantly get a yellow box that states: "You must be logged into Database Portal." This affects every user that logs into the portal. I even remarked back out the $nuWelcomeBodyInnerHTML section in my nuconfig.php file.

Why would I be getting this error message?
icoso
Posts: 181
Joined: Sun Feb 07, 2021 11:09 pm
Been thanked: 1 time

Re: nuBuilder 4 - Self-Service Password Reset - NOT WORKING

Unread post by icoso »

I restored my original nuconfig.php file, then just modified the section to add in the forgot/change password link. Its working now.
kev1n
nuBuilder Team
Posts: 4301
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: nuBuilder 4 - Self-Service Password Reset - NOT WORKING

Unread post by kev1n »

BTW, I had to replace this line

Code: Select all

$this->password = htmlspecialchars(strip_tags($this->password));
with

Code: Select all

$this->password = $this->password;
Because it converts some special characters (like & ) to HTML entities ( e.g. &). As a result, the password won't be accepted when logging in.
Post Reply