http://www.perlmonks.org?node_id=975358

So I changed the password of my account, Xenther, and it appears I've set it to something that perlmonks doesn't like. I've had my password mailed to me, but even if I copy and paste it in I'm told that something is wrong. How do I go about getting it reset to something useable?

Replies are listed 'Best First'.
Re: Invalid Password
by thomas895 (Deacon) on Jun 10, 2012 at 03:10 UTC

    I've had this happen to me as well. Try deleting the cookie, userpass, and try again.
    That fixed it for me, at least.

    ~Thomas~
    confess( "I offer no guarantees on my code." );
Re: Invalid Password (fixed)
by tye (Sage) on Jun 10, 2012 at 04:31 UTC

    The trouble you were running into should now be fixed. What method did you use to change your password?

    - tye        

      I didn't realise at the time that PM restricted passwords to 8 characters and gave myself a longer one. The characters come easily to my fingers, but if I put in the longer password, I can't log in. Before the week-end, I was able to. Are longer passwords now distinguished from 8 character ones? Something has certainly changed, but I see no Tidings on the subject.

      Regards,

      John Davies

        (not for me)

        Even you seem to be able to log in successfully, which is what was "(fixed)". If you find it difficult to stop at 8 characters, then simply edit your profile and re-set your password (which will then be truncated at 10 characters, since that was also "(fixed)").

        - tye        

Re: Invalid Password
by Xenther (Novice) on Jun 10, 2012 at 10:33 UTC
    Clearing the cookie worked for me! I changed my password via my Profile page, it asked me to login with my new password and I couldn't get back in.
      I changed my password via my Profile page

      That seems unlikely. The "edit" view of your profile page specifies a maxlength which requests that your browser prevent you from typing too long of a password. That same feature is what was preventing you, on one of our 'log in' forms, from entering the 10-character password that you somehow ended up with.

      This feature came up a while back when somebody used their own form submission code to change their password and then couldn't use the default site forms to log in. I was hoping you might inform me of some weird way you were able to set too-long of a password.

      But, in the mean time, I decided to make the current database restriction on password length (10 characters) be reflected in the password-handling forms of the site (which used to specify a maximum length of 8 characters) because that should eliminate the possibility of having a password that you can't use via the default forms (except for the intentional feature documented in How can I wipe every trace of myself from PerlMonks?).

      - tye        

        I used the LastPass (https://lastpass.com/) Firefox extension to generate the password, which auto inserted it into the password fields.
Re: Invalid Password
by mje (Curate) on Jun 11, 2012 at 12:19 UTC

    I don't think it will help you but just so it is noted here. For years I've used a 9 chr password fine. I've always known only 8 were used but I guessed it was truncated at 8. This morning my 9 chr password no longer works but if I enter the first 8 it does work. When I request my password it is delivered as 8 chrs. I believe the last time my 9 chr password was accepted was last Friday.

      Now you can edit your profile and actually have a 9-character password.

      - tye        

        So I can, thank you.