0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-24 20:42:48 +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 Fix/upload artifact error windows (#27802) 2023-10-30 10:40:05 +00:00
common Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
install Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00
private Fix typo "GetLatestRunnerToken" (#27680) 2023-10-18 15:52:44 +00:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Filter inactive auth sources (#27870) 2023-11-02 01:46:26 +02:00
init.go Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00