added user photo upload page

This commit is contained in:
2025-10-11 21:38:01 -06:00
parent 9d2c57815e
commit 185d1456a6
6 changed files with 114 additions and 5 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ func AmWrap(myfunc func(AmContext) (string, any, error)) echo.HandlerFunc {
if !user.VerifyEMail {
// bounce to E-mail verification before we go anywhere
return sendPageData(ctxt, amctxt, "redirect",
"/verify?tgt="+url.PathEscape(ctxt.Request().URL.Path))
"/verify?tgt="+url.QueryEscape(ctxt.Request().URL.Path))
}
} else {
log.Errorf("login cookie bogus, do not use: %v", cerr)