summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-06 22:31:18 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-06 22:31:18 +0100
commit19d22090af17d98d6665e8a1f9986c9207789077 (patch)
tree4eb4aff9c8b43274096b3ccc3152f66bef3ced06
parent1dfa27c145ae1645954f5dca9eff6efc561d0f3c (diff)
downloadinstall-19d22090af17d98d6665e8a1f9986c9207789077.tar.gz
install-19d22090af17d98d6665e8a1f9986c9207789077.tar.bz2
install-19d22090af17d98d6665e8a1f9986c9207789077.zip
install: fix login form action to post to validate.php
{form} without ipackage/ifile defaults to SCRIPT_NAME (install.php), which has no login handler. Explicitly target users/validate.php so the login is actually processed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rwxr-xr-xtemplates/install_login.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/install_login.tpl b/templates/install_login.tpl
index fa29124..4f51b4a 100755
--- a/templates/install_login.tpl
+++ b/templates/install_login.tpl
@@ -2,7 +2,7 @@
<h1>{$title|default:"You must be logged in as an administrator to run the installer."}</h1>
-{form name="login" legend="Please sign in to continue"}
+{form ipackage="users" ifile="validate.php" name="login" legend="Please sign in to continue"}
<div class="form-group">
{formfeedback error="$error"}
{formlabel label="Username or Email" for="user"}