From 96a7413ca1b50bdc83096c9d72bbbf98099cc45b Mon Sep 17 00:00:00 2001 From: Julian Hurst Date: Thu, 10 Aug 2023 15:33:01 +0200 Subject: Disable /createuser --- main.go | 2 +- static/style.scss | 2 +- templates/nav.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 8237f90..15e7281 100644 --- a/main.go +++ b/main.go @@ -641,7 +641,7 @@ func main() { //http.Handle("/docs/", http.StripPrefix("/docs/", http.FileServer(http.Dir("docs")))) http.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static")))) http.HandleFunc("/", index) - http.HandleFunc("/createuser", createuser) + //http.HandleFunc("/createuser", createuser) http.HandleFunc("/login", login) http.HandleFunc("/logout", logout) http.HandleFunc("/upload", upload) diff --git a/static/style.scss b/static/style.scss index 9bc4e57..3fb651a 100644 --- a/static/style.scss +++ b/static/style.scss @@ -44,7 +44,7 @@ ul.navloggedadmin { padding-right: 5px; padding-left: 5px; width: 150px;*/ - width: 50%; + width: 100%; height: 100%; text-align: center; background: lightgrey; diff --git a/templates/nav.html b/templates/nav.html index f8e7b7f..daf061c 100644 --- a/templates/nav.html +++ b/templates/nav.html @@ -4,7 +4,7 @@
  • Se connecter
  • -
  • Créer un compte
  • + {{end}} -- cgit v1.2.3