feat: add password auth flag

This commit is contained in:
Steven
2024-07-27 19:24:37 +08:00
parent b9006f8ce0
commit 8bf7cdfd31
14 changed files with 236 additions and 216 deletions

View File

@@ -224,7 +224,7 @@ func (s *APIV1Service) SignOut(ctx context.Context, _ *v1pb.SignOutRequest) (*em
Name: fmt.Sprintf("%s%d", UserNamePrefix, user.ID),
AccessToken: accessToken,
}); err != nil {
slog.Error("failed to delete access token", slog.Any("err", err))
slog.Error("failed to delete access token", "error", err)
}
}
}