Delete stored security keys

This commit is contained in:
Daniel Redetzke
2026-10-04 22:35:19 +03:00
parent 6570611ed8
commit 0a8dc8f7af
5 changed files with 53 additions and 22 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ type userView struct {
LastLogin *tokenUse `json:"lastLogin"` // since the service started
Tokens int `json:"tokens"`
You bool `json:"you"`
MFA map[string]any `json:"mfa"` // {"totp": bool, "keys": n, "passkeys": n}
MFA map[string]any `json:"mfa"` // {"totp": bool, "passkeys": n}
}
func (a *App) userView(c *Config, u *User, me string) userView {