Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum
2views
3users
1 minread

reset is not new password ?

I create a new user ,and I want change password by email

input the new password and confirm , show password or code is in correct

You may check Orgnization Settings under User Management, a Password type section should show up.

so you should reset yourr pwds to match(if you use plain text, just replace the one in DB with what you input on UI frontend, otherwise(if you use bcrypt) you should hash pwd before updating what stored in your DB)

I'm new to casdoor too, just have read the code about update user field yesterday , so... just try as much as you can, haha..

image.png

password in db is plain text

the new password I input should not match password in db(the password in db is old password) ,I think is a bug

Now the password in db is 123456,if i want reset password, what should I input ?

1 / 17
Oct 2023