nuBuilder 4 - Self-Service Password Reset - NOT WORKING

Questions related to using nuBuilder Forte.

nuBuilder 4 - Self-Service Password Reset - NOT WORKING

Unread postby icoso » Sat Jun 12, 2021 5:53 am

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: Mon Feb 08, 2021 7:39 am
nuBuilder Version: 4.5

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

Unread postby icoso » Sat Jun 12, 2021 5:59 am

I restored my original nuconfig.php file, then just modified the section to add in the forgot/change password link. Its working now.
icoso
 
Posts: 181
Joined: Mon Feb 08, 2021 7:39 am
nuBuilder Version: 4.5

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

Unread postby kev1n » Sat Jun 12, 2021 6:15 am

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.
kev1n
nuBuilder Team
 
Posts: 2145
Joined: Mon Oct 15, 2018 2:13 am
nuBuilder Version: 4.5


Return to General

Who is online

Users browsing this forum: No registered users and 30 guests

cron