Fix add/update salted password.

This commit is contained in:
Yang Luo
2021-05-16 21:04:26 +08:00
parent 18806f07a8
commit 4b9ce5f401
5 changed files with 30 additions and 4 deletions

View File

@ -105,3 +105,7 @@ func GetOrganizationByName(name string) *Organization {
}
return &ret
}
func getOrganizationByUser(user *User) *Organization {
return getOrganization("admin", user.Owner)
}