diff --git a/pages/login.go b/pages/login.go index 0f22c57..0614cdc 100644 --- a/pages/login.go +++ b/pages/login.go @@ -53,7 +53,7 @@ func CreateAccount(w http.ResponseWriter, r *http.Request) { w.Header().Add("Location", "/") w.WriteHeader(http.StatusSeeOther) } else { - templates.CreateAccountBox(false).Render(r.Context(), w) + templates.CreateAccountBox(r.URL.Query().Has("basic")).Render(r.Context(), w) } return } diff --git a/pages/templates/login.templ b/pages/templates/login.templ index d6f5857..817e3b0 100644 --- a/pages/templates/login.templ +++ b/pages/templates/login.templ @@ -55,21 +55,21 @@ templ CreateAccountBox(basic_css bool) {