0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-19 19:52:27 +01:00
gitea/routers
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.
2023-11-02 01:46:26 +02:00
..
api
common
install
private
utils
web Filter inactive auth sources (#27870) 2023-11-02 01:46:26 +02:00
init.go