mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 16:59:22 +02:00
core/ui: fix page title (#4957)
* core/ui: fix page title * cache template
This commit is contained in:
parent
76862c2fe8
commit
c6d1f17100
9 changed files with 56 additions and 31 deletions
|
@ -65,6 +65,6 @@ func (data UserInfoData) ToJSON() map[string]any {
|
|||
// UserInfo returns a handler that renders the user info page.
|
||||
func UserInfo(data UserInfoData) http.Handler {
|
||||
return httputil.HandlerFunc(func(w http.ResponseWriter, r *http.Request) error {
|
||||
return ui.ServePage(w, r, "UserInfo", data.ToJSON())
|
||||
return ui.ServePage(w, r, "UserInfo", "User Info Dashboard", data.ToJSON())
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue