mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 19:40:19 +08:00
Fix add/update salted password.
This commit is contained in:
@ -105,3 +105,7 @@ func GetOrganizationByName(name string) *Organization {
|
||||
}
|
||||
return &ret
|
||||
}
|
||||
|
||||
func getOrganizationByUser(user *User) *Organization {
|
||||
return getOrganization("admin", user.Owner)
|
||||
}
|
||||
|
Reference in New Issue
Block a user