core/ui: fix page title

This commit is contained in:
Caleb Doxsey 2024-02-08 09:41:12 -07:00
parent f9808a73ba
commit e7ea364ecb
9 changed files with 39 additions and 31 deletions

View file

@ -10,6 +10,6 @@ import (
// DeviceEnrolled displays an HTML page informing the user that they've successfully enrolled a device.
func DeviceEnrolled(data UserInfoData) http.Handler {
return httputil.HandlerFunc(func(w http.ResponseWriter, r *http.Request) error {
return ui.ServePage(w, r, "DeviceEnrolled", data.ToJSON())
return ui.ServePage(w, r, "DeviceEnrolled", "Device Enrolled", data.ToJSON())
})
}