Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Password issue with 2.00+

Re: Password issue with 2.00+ Workaround 2 years 2 weeks ago #86243

  • rwweb
  • rwweb's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Thank you received: 3
  • Karma: 1
Here is a workaround to allow you to log in.

In file: [lime-install-path]/application/core/UserIdentity.php
Look for these lines (about line 46)
else if (false || $sStoredPassword !== hash('sha256', $this->password))
{
   $this->errorCode = self::ERROR_PASSWORD_INVALID;
}

and change them to:
// else if (false || $sStoredPassword !== hash('sha256', $this->password))
// {
//   $this->errorCode = self::ERROR_PASSWORD_INVALID;
// }
Then log in using your admin user id and any password.
Once logged in, reset your password and log out.
Change the above code back (remove the comments) and you should be able to log in normally.

Test your installation by trying to log in with an invalid password to make sure you have not left logins open.
The administrator has disabled public write access.
The following user(s) said Thank You: Ebenezer_Arvigenius, M1lkSh4k3, nery

Aw: Re: Password issue with 2.00+ Workaround 2 years 2 weeks ago #86265

You're a lifesaver. I was going crazy here :D
The administrator has disabled public write access.

Re: Password issue with 2.00+ 2 years 2 weeks ago #86283

  • rwweb
  • rwweb's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Thank you received: 3
  • Karma: 1
According to the bug report #6609 for thios problem, this is fixed in build 120931.
I tested the password recovery feature in 120931 and it now works.
The administrator has disabled public write access.

Re: Password issue with 2.00+ 2 years 2 weeks ago #86294

Password recovery works. But the password sent is not accepted as valid with my version of this error.
The administrator has disabled public write access.

Re: Password issue with 2.00+ 2 years 1 day ago #86997

  • rogerh
  • rogerh's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Ebenezer_Arvigenius wrote:
Password recovery works. But the password sent is not accepted as valid with my version of this error.

Same problem here. Emailed admin password doesn't work. rwweb's workaround sorted it (thanks!).

(Build 121013, downloaded and installed on 13 October.)

Also the instructions for I forgot my admin password. How do I reset it? need updating for the current version.
Last Edit: 2 years 1 day ago by rogerh. Reason: Extra
The administrator has disabled public write access.

Re: Password issue with 2.00+ Workaround 1 year 11 months ago #88052

  • M1lkSh4k3
  • M1lkSh4k3's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 6
  • Karma: 0
Thank you so much rwweb !!!!!!!!!!!!

You just salved my life !

I love you so muchhh :) :)

Grattings from Brazil
The administrator has disabled public write access.

Re: Password issue with 2.00+ Workaround 1 year 9 months ago #90518

  • georgebradford
  • georgebradford's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 40
  • Thank you received: 1
  • Karma: 1
I'm having the same problem. I just downloaded and installed the latest version and the initial log in doesn't work. I use the forgot password function and receive a new password, but nothing works - can't log in. I tried changing the else loop as per rwweb's instructions in the UserIdentity.php file, but that fails to work as well.

Does anyone have any help to offer?

Thanks in advance,

-george
The administrator has disabled public write access.

Re: Password issue with 2.00+ Workaround 1 year 9 months ago #90531

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
George, if this would be a real bug at Limesurvey, then there would be hundreds of complaints. Thus, my assumption is that this is a server configuration issue.

Please upload a phpinfo file so we can take a look at your server configuration. Just put the following code into a file named phpinfo.php and upload it to your webserver:
< ?php phpinfo(); ? >
(Delete the spaces next to </> when copying the code.)
After uploading please post the link to the file.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Password issue with 2.00+ Workaround 1 year 9 months ago #90560

  • georgebradford
  • georgebradford's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 40
  • Thank you received: 1
  • Karma: 1
Hi Mazi,

Thank you for your reply... I was thinking the same thing ie that others would have reported this were it not something specific with my installation. Your help is very much appreciated.

Here is the link:

heybradfords.com/LS2/phpinfo.php

BTW, happy New Year! :-)

-George
The administrator has disabled public write access.

Mazi: Re: Password issue with 2.00+ Workaround 1 year 9 months ago #90887

  • georgebradford
  • georgebradford's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 40
  • Thank you received: 1
  • Karma: 1
georgebradford wrote:
Hi Mazi,

Thank you for your reply... I was thinking the same thing ie that others would have reported this were it not something specific with my installation. Your help is very much appreciated.

Here is the link:

heybradfords.com/LS2/phpinfo.php

BTW, happy New Year! :-)

-George

Mazi,

Were you ever able to see if there is anything wrong with my installation?

-George
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.287 seconds
Donation Image