diff --git a/auth/assets/templates/inc_header.html.tpl b/auth/assets/templates/inc_header.html.tpl index b53ca413c..0f03549f5 100644 --- a/auth/assets/templates/inc_header.html.tpl +++ b/auth/assets/templates/inc_header.html.tpl @@ -17,6 +17,7 @@ {{ if .user }}
+ {{ tr "inc_header.logged-in-as" }} {{ coalesce .user.Name .user.Handle .user.Email }} | diff --git a/auth/handlers/links.go b/auth/handlers/links.go index 6167e7137..423df5be9 100644 --- a/auth/handlers/links.go +++ b/auth/handlers/links.go @@ -39,6 +39,8 @@ type ( SamlMetadata, SamlLogout, + Base, + Assets string } ) @@ -82,6 +84,7 @@ func GetLinks() Links { SamlLogout: b + "auth/external/saml/slo", Assets: b + "auth/assets/public", + Base: b, } }