mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Fix forbidden error for password reset (#1171)
Access the app config directly through the data store, skipping the incorrect permission check on the service method.
This commit is contained in:
parent
50a49b25bf
commit
2b3f968478
1 changed files with 1 additions and 1 deletions
|
|
@ -438,7 +438,7 @@ func (svc *Service) RequestPasswordReset(ctx context.Context, email string) erro
|
|||
return err
|
||||
}
|
||||
|
||||
config, err := svc.AppConfig(ctx)
|
||||
config, err := svc.ds.AppConfig()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue