Describe the issue or problem
Since upgrading to OMP 3.5.0-5 from OMP 3.4.0-7, I can no longer login or reset my password. This doesn’t happen in OMP 3.4 where I’m able to login successfully but after upgrading, I get a ‘Invalid username/email or password. Please try again.’ message when using the same username and password. When I use the reset password link sent in email, the reset password gives a message: ‘The form could not be submitted. You may have been logged out. Please reload the page and try again.’
Steps I took leading up to the issue
- Click ‘Login’
- Enter the same username and password I used in the OMP 3.4 install pre-upgrade.
- Receive error message
What application are you using?
OMP 3.5.0-5
Additional information
There are no relevant errors in either the PHP or Apache logs.
Hi @SimonXIX,
Did you by any chance accidentally change the encryption setting in your config.inc.php during the upgrade process?
Regards,
Alec Smecher
Public Knowledge Project Team
No, I copied over config.inc.php and made amendments in place. The encryption setting remains sha1 as it was on OMP 3.4. I’ve never had this happen with an upgrade from OJS 3.4 to OJS 3.5.
Hi @SimonXIX,
Hmm, this hasn’t shown up in any of our testing, and I just did a test upgrade from OMP 3.4.0 to 3.5.0 to double-check. I also tested the password reset process and that worked too. I can only conclude that this must be a platform-specific issue we’re not seeing over here. It’ll take some investigation.
As a first step I’d recommend making your system as close to “stock” as possible. For example, try setting the theme to Default and trying the password reset process again. If you have any unusual configuration in config.inc.php, consider reverting it.
Regards,
Alec Smecher
Public Knowledge Project Team
Figured it out. I’d copied over the new reCAPTCHA options with reCAPTCHA on login and registration as ‘on’ but there were no keys so it was silently failing. Switched them to ‘off’ and I can login as expected.