summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-14 17:23:10 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-14 17:23:10 +0000
commitd7745f2ad871b8e5ac29428f74344dcb41f93b6d (patch)
tree660fee3ad964534980cc7120ea3ad93e963e6a5d /modules/user
parent61d957e372b623856338b8223fc80ad440bd1d93 (diff)
Add the name attr to the input fields and use the form.serialize() method to generate the post data
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/views/login.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/views/login.html.php b/modules/user/views/login.html.php
index 27591721..78e03b46 100644
--- a/modules/user/views/login.html.php
+++ b/modules/user/views/login.html.php
@@ -5,11 +5,11 @@
<ul>
<li>
<label for="gUsername"><?= _("Username") ?></label>
- <input type="text" id="gUsername" />
+ <input type="text" name="username" id="gUsername" />
</li>
<li>
<label for="gPassword"><?= _("Password") ?></label>
- <input type="password" id="gPassword" />
+ <input type="password" name="password" id="gPassword" />
</li>
<li>
<input type="submit" value="<?= _("Login")?>" />