user service: initial implementation (#17668)
* conceptual user service: initial commit * reflect review comments * fix i18n issues and some tests * implement get user methods * add license * reflect review comments
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d320b50abb
Коммит
ac3bb2e811
@@ -854,6 +854,7 @@ func HashPassword(password string) string {
|
||||
}
|
||||
|
||||
// ComparePassword compares the hash
|
||||
// This function is deprecated and will be removed in a future release.
|
||||
func ComparePassword(hash string, password string) bool {
|
||||
|
||||
if password == "" || hash == "" {
|
||||
|
||||
Ссылка в новой задаче
Block a user