mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-16 03:46:12 +00:00
feat: add CLI command for encryption key rotation (#1209)
This commit is contained in:
@@ -526,7 +526,7 @@ func (s *TestService) ResetAppConfig(ctx context.Context) error {
|
||||
}
|
||||
|
||||
// Reload the JWK
|
||||
if err := s.jwtService.LoadOrGenerateKey(); err != nil {
|
||||
if err := s.jwtService.LoadOrGenerateKey(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user