Error when trying to set password for a user #3957
-
Hi, I'm setting up a local instance of seqr, and so far, we have successfully managed to create a superuser, login, and perform a search on some test data. We can also create new users with email addresses, but we're having problems when users try to either login, or set passwords. When attempting to login as anyone other than the superuser (with or without the passwords mentioned below): When attempting to send a reset link using 'Forgot Password': I've looked at the postgres auth_user table, and I can see all of the users created so far, along with their email addresses and (pre-assigned?) passwords. The only difference I can see is that the superuser has an sha256 hash in the 'password' column, whereas the other created accounts have a string of characters preceded by '!'. We've tried logging in using this string of characters as the password, but is this some kind of set password token? In our previous local instance I believe we set passwords by sending the user a link such as: http:/ /server-name:port/set-password?token=token_characters The link failed to send in the old instance, but we were able to find it in the gunicorn.log file. Is there a similar/equivalent link in the latest seqr version, or is the issue something different? Thanks, Michael |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Hi Micheal, That error is being thrown because you have not configured an email server for seqr but are trying to send a "forgot password" email. If you have your own postmark account set up, you can add a The link you describe above is close to the link users should be using to set their password, but it is not quite right. The URL should be Let me know if you have any further questions! |
Beta Was this translation helpful? Give feedback.
-
Hi. Could you please describe how did you got to look into postgres auth_user table? Unfortunately, I am unable to find this table. |
Beta Was this translation helpful? Give feedback.
-
Hello Hana and mmccorkindale. I am experiencing exactly the same problem after recent docker install. The set password and reset password links lead to an empty white page. However, I discovered that actually there is correct page and form for a fraction of second, but it disappears momentarily. So, basically I can see it, when I refresh page really fast. Is there anything I could do or try out to fix this? |
Beta Was this translation helpful? Give feedback.
-
Just wanted to update that the javascript bug causing this issue has been fixed in the latest seqr release |
Beta Was this translation helpful? Give feedback.
ah yes, this does appear to be a seqr bug. In the meantime while this gets fixed, you can reset the password for people using the admin interface:
http://server-name:port/admin/auth/user/
Select the user to update, and then where it shows the password there should be a link to a form to change the password