feat: add trusted URLs

This commit is contained in:
Stavros
2025-04-15 13:44:23 +03:00
parent 7413b3f931
commit e11d14fda0
8 changed files with 57 additions and 15 deletions

View File

@@ -446,6 +446,7 @@ func (h *Handlers) AppHandler(c *gin.Context) {
DisableContinue: h.Config.DisableContinue,
Title: h.Config.Title,
GenericName: h.Config.GenericName,
Domain: h.Config.Domain,
}
// Return app context

View File

@@ -46,6 +46,7 @@ type AppContext struct {
DisableContinue bool `json:"disableContinue"`
Title string `json:"title"`
GenericName string `json:"genericName"`
Domain string `json:"domain"`
}
// Totp request is the request for the totp endpoint