forgejo/routers/user
zeripath 27f9bda769
Prevent NPE on avatar direct rendering if federated avatars disabled (#15434)
#13649 assumed that direct avatar urls would always be libravatar urls - this leads
to NPEs if federated avatar service is disabled.

Fix #15421

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-04-12 20:57:12 -04:00
..
setting Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
auth.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
auth_openid.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
avatar.go Prevent NPE on avatar direct rendering if federated avatars disabled (#15434) 2021-04-12 20:57:12 -04:00
home.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
home_test.go
main_test.go
notification.go Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 2021-02-19 22:36:43 +01:00
oauth.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
profile.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
task.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00