added consent template

This commit is contained in:
ston1th 2022-07-10 01:19:28 +02:00
commit 3c3ca3e7a7
6 changed files with 31 additions and 6 deletions

View file

@ -45,6 +45,7 @@ func (s *Server) loadTemplates() (err error) {
s.ts.Parse(tfs, "notFoundHandler", "index.html", "menu.html", "notFound.html")
s.ts.Parse(tfs, "loginHandler", "index.html", "menu.html", "login.html")
s.ts.Parse(tfs, "loginTotpHandler", "index.html", "menu.html", "loginTotp.html")
s.ts.Parse(tfs, "consentHandler", "index.html", "menu.html", "consent.html")
// users
s.ts.Parse(tfs, "usersHandler", "index.html", "menu.html", "users.html")
s.ts.Parse(tfs, "userNewHandler", "index.html", "menu.html", "userNew.html")