From 8e8072b314f5f49892d3abced9f15cfedd0ae521 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Fri, 31 Oct 2008 02:41:38 +0000 Subject: [PATCH] Make login form input fields configurable again (see Password Forget plugin) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13318 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/login.php | 2 ++ templates/default/login.tpl | 4 ++-- templates/default_advanced/login.tpl | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/login.php b/src/login.php index 8665b2ee..10566952 100644 --- a/src/login.php +++ b/src/login.php @@ -59,6 +59,8 @@ if($imap_auth_mech == 'login') { } } +$username_form_name = 'login_username'; +$password_form_name = 'secretkey'; do_hook('login_cookie', $null); $loginname_value = (sqGetGlobalVar('loginname', $loginname) ? htmlspecialchars($loginname) : ''); diff --git a/templates/default/login.tpl b/templates/default/login.tpl index 15a2584c..281a75e6 100644 --- a/templates/default/login.tpl +++ b/templates/default/login.tpl @@ -51,7 +51,7 @@ extract($t); - + @@ -59,7 +59,7 @@ extract($t); - + diff --git a/templates/default_advanced/login.tpl b/templates/default_advanced/login.tpl index 1ab48558..72aa9fd3 100644 --- a/templates/default_advanced/login.tpl +++ b/templates/default_advanced/login.tpl @@ -61,7 +61,7 @@ extract($t); - + @@ -69,7 +69,7 @@ extract($t); - + -- 2.25.1