You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/user/setting/security
KN4CK3R e378545f30
Filter inactive auth sources (#27870)
Fix nil access for inactive auth sources.

> Render failed, failed to render template:
user/settings/security/security, error: template error:
builtin(static):user/settings/security/accountlinks:32:20 : executing
"user/settings/security/accountlinks" at <$providerData.IconHTML>: nil
pointer evaluating oauth2.Provider.IconHTML

Code tries to access the auth source of an `ExternalLoginUser` but the
list contains only the active auth sources.
1 year ago
..
2fa.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
openid.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
security.go Filter inactive auth sources (#27870) 1 year ago
webauthn.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago