Add separate production, testserver, and demo deployments
CI / test (push) Failing after 10s

This commit is contained in:
2026-09-14 19:58:31 +02:00
parent b87aa0aa17
commit d06ff4a94a
37 changed files with 1293 additions and 121 deletions
+4
View File
@@ -177,6 +177,10 @@ func (app *application) updateUserPasswordHandler(w http.ResponseWriter, r *http
}
return
}
if app.isProtectedDemoAccount(user.Email) {
app.demoAccountProtectedResponse(w, r)
return
}
err = user.Password.Set(input.Password)
if err != nil {