[MM-53943] Remove deprecated UserAuth.Password field (#24213)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8372267739
Коммит
7ecf6c0b5c
@@ -1086,7 +1086,6 @@ func (a *App) PatchUser(c request.CTX, userID string, patch *model.UserPatch, as
|
||||
}
|
||||
|
||||
func (a *App) UpdateUserAuth(userID string, userAuth *model.UserAuth) (*model.UserAuth, *model.AppError) {
|
||||
userAuth.Password = ""
|
||||
if _, err := a.Srv().Store().User().UpdateAuthData(userID, userAuth.AuthService, userAuth.AuthData, "", false); err != nil {
|
||||
var invErr *store.ErrInvalidInput
|
||||
switch {
|
||||
|
||||
Ссылка в новой задаче
Block a user