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?
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
nuBuilder 4 - Self-Service Password Reset - NOT WORKING
Re: nuBuilder 4 - Self-Service Password Reset - NOT WORKING
I restored my original nuconfig.php file, then just modified the section to add in the forgot/change password link. Its working now.
-
- nuBuilder Team
- Posts: 4299
- 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
BTW, I had to replace this line
with
Because it converts some special characters (like & ) to HTML entities ( e.g. &). As a result, the password won't be accepted when logging in.
Code: Select all
$this->password = htmlspecialchars(strip_tags($this->password));
Code: Select all
$this->password = $this->password;