mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 04:10:20 +08:00
Add getSaltedPassword().
This commit is contained in:
@ -44,3 +44,8 @@ func TestSyncIds(t *testing.T) {
|
||||
updateUserColumn("id", user)
|
||||
}
|
||||
}
|
||||
|
||||
func TestGetSaltedPassword(t *testing.T) {
|
||||
password := "123456"
|
||||
fmt.Printf("%s -> %s\n", password, getSaltedPassword(password))
|
||||
}
|
||||
|
Reference in New Issue
Block a user