Migrate store methods to use request.Context instead of context.Context (#24836)

Этот коммит содержится в:
Ben Schumacher
2023-10-11 13:08:55 +02:00
коммит произвёл GitHub
родитель 0d5a8b8841
Коммит 13c05a571f
127 изменённых файлов: 1030 добавлений и 921 удалений

Просмотреть файл

@@ -102,7 +102,7 @@ func (a *App) SwitchEmailToLdap(c *request.Context, email, password, code, ldapL
return "", err
}
if err := a.RevokeAllSessions(user.Id); err != nil {
if err := a.RevokeAllSessions(c, user.Id); err != nil {
return "", err
}
@@ -155,7 +155,7 @@ func (a *App) SwitchLdapToEmail(c *request.Context, ldapPassword, code, email, n
return "", err
}
if err := a.RevokeAllSessions(user.Id); err != nil {
if err := a.RevokeAllSessions(c, user.Id); err != nil {
return "", err
}