Tried googling and testing quickstart, but did not...
# talk-kratos
b
Tried googling and testing quickstart, but did not find answer. Is it possible to configure kratos to ask for password twice in registering and also when changing the password (settings)
m
Hello @billions-leather-15882 It is possible, but usually not required. Ory has this concept of privileged sessions: https://www.ory.sh/docs/kratos/session-management/session-lifespan#privileged-sessions If you want the user to supply their current password either: a) ask for re-auth (refresh session) b) build custom UI
b
More likely I would like them to enter twice the new password so they don't fuck it up...
But maybe a custom UI it is
m
Oh I see. That should be doable with a custom UI, but I have no great example for it. If you figure it out let me know 🙇 We usually omit this second step, because it adds friction and usually does not help much (most users just copy paste the password in both fields). You can easily reset password with recovery. That being said I think its still useful in some cases to ask for the password twice.
b
I guess it depends on the user/customer profile
but that is a good point, that copy & pasting.. of course I use myself a password manager, so it's not really a big deal.. but with this information, maybe I need to have a good talk with designers 🙂
Thank you anyway!
This was super helpfull!