]> source.dussan.org Git - gitea.git/commit
auth/reverseproxy: Add support for full name (#20776)
authorWill Norris <will@willnorris.com>
Tue, 16 Aug 2022 06:30:27 +0000 (23:30 -0700)
committerGitHub <noreply@github.com>
Tue, 16 Aug 2022 06:30:27 +0000 (14:30 +0800)
commit82f89ff996b40e30a7790d13dfa5fa8949a6d620
tree14a6e7016178e346a798d6c30af382d35b71d3f7
parent1f146090ecbd9876ed41ddccc4d05ee1bedbb48e
auth/reverseproxy: Add support for full name (#20776)

This adds support for getting the user's full name from the reverse
proxy in addition to username and email.

Tested locally with caddy serving as reverse proxy with Tailscale
authentication.

Signed-off-by: Will Norris <will@tailscale.com>
Signed-off-by: Will Norris <will@tailscale.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
custom/conf/app.example.ini
docs/content/doc/advanced/config-cheat-sheet.en-us.md
modules/setting/service.go
modules/setting/setting.go
routers/web/admin/admin.go
services/auth/reverseproxy.go