Password Reset should be an option for logged-in users too
-
@girish Use case:
User: Marcus, what's my Password?
Marcus: IDK, try resetting it at my.example.com
That's where the conversation should then end - yet it does not.
I've presented the problem and the solution, the rest's up to you
-
@marcusquinn this is only an issue because the user is already logged in, correct? I can look into what other services do.
-
@mehdi I think it's fairly standard to be able to edit one's password. Normally via something called Profile / Account / Settings or similar
e.g. WordPress
https://wordpress.org/support/article/resetting-your-password/
Same thing on cloudron.io
-
@marcusquinn Oh! As an admin - why not send them a password reset link? You can do this in 2 clicks under users.
-
I am not sure what this really is about, but a user can edit his/her password through the Cloudron dashboard, but of course like with other services at least I am aware of, you have to provide the old password when setting a new one through a login session.
Password resets are instead verified by the email with the reset link.
I also don't think it is correct to allow password change without some kind of additional verification means otherwise if a valid access token leaks for a user, anyone with that token can change the password.
-
@nebulon I think the request is basically about adding an "email me a password reset link" button to the existing page where users can change their password (if they know their PW), right @marcusquinn ?
-
@jdaviescoates Exactly that. There's no issue with security because it's no different to getting the link when logged out.
It is a usability issue, in that you have to first logout to trigger the email reset link.
It would also be good if it is always available on a memorable link too, like: https://my.example.com/password-reset as it's easy to then type out, in response to this question that seems to come up a couple of times a month among 60 users.
-
@marcusquinn I see github and the likes also show a password reset link in the profile. We can do this as well, as it essentially just prefills the regular password reset form with the email address.
There are two blocking issues, we need to fix first though:
- Currently in a login session you could just change the email address right there and then trigger the password reset (this is already a bit of an issue so we will fix this anyways to require the password on email change)
- Fix the password reset page to allow prefilling and directly jump into that form unlike now from the login page.
-
@marcusquinn this has been implemented now and will be part of the next release.
-
@nebulon Can I get an ETA on this, and what the URL will be please? (ideally something memorable, like my.example.com/password-reset)
-
@marcusquinn So what has been implemented is a way to reset the password on behalf of the user as an admin. If I understand you correctly, then you also want a direct link for the user to reset the password on his/her own?
This does already exist though: https://my.example.com/login.html?passwordReset
Would that work for you? -
@nebulon said in Password Reset should be an option for logged-in users too:
@marcusquinn So what has been implemented is a way to reset the password on behalf of the user as an admin. If I understand you correctly, then you also want a direct link for the user to reset the password on his/her own?
That was my understanding of what @marcusquinn wanted too - for already existing logged in users to be able to reset their own passwords...
This does already exist though: https://my.example.com/login.html?passwordReset
Would that work for you?Heh, I think that is exactly what @marcusquinn was after!
That should be added to the docs somewhere!
-
@marcusquinn said in Password Reset should be an option for logged-in users too:
@nebulon Kinda not so memorable. I can't be the only Sys Admin that gets requests day and night that you have to answer by phone and memory? Can we have a URL rewrite for
/password-reset
?why not create a short URL that you'll remember?
-
@robi Why not have as I've suggested? This suggestion has a duplicate time cost and no benefit to any other CLoudron users.
It's considered feedback and a simple recommendation from trying to manage 50+ users of various computer literacy. The suggestion is good, and will help anyone else managing many variable Cloudron Users. No need for the debate time is starting to exceed the implementation time.
-
@marcusquinn because it already exists