diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-10 10:15:53 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-10 10:15:53 +0000 |
commit | b7ce3e487e8ba99aa8457aa7fcf1665e851b7113 (patch) | |
tree | b8018ccdf566936870abcc576e131ab13071e943 | |
parent | eab5982c2308683cbf026e80240cbde89eca3bf8 (diff) | |
download | elgg-b7ce3e487e8ba99aa8457aa7fcf1665e851b7113.tar.gz elgg-b7ce3e487e8ba99aa8457aa7fcf1665e851b7113.tar.bz2 |
Fixing the login form
git-svn-id: https://code.elgg.org/elgg/trunk@127 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | actions/login.php | 8 | ||||
-rw-r--r-- | views/default/login.php | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/actions/login.php b/actions/login.php index 2dc3371ad..4c068b5f4 100644 --- a/actions/login.php +++ b/actions/login.php @@ -12,8 +12,8 @@ */
// Get username and password
- require_once('../engine/start.php');
- global $CONFIG;
+ //require_once('../engine/start.php');
+ //global $CONFIG;
$username = get_input('username');
$password = get_input("password");
@@ -36,7 +36,7 @@ system_message("We couldn't log you in. Make sure your details are correct and please try again.");
}
- header("Location: {$passthru}");
- exit;
+ // header("Location: {$passthru}");
+ // exit;
?>
\ No newline at end of file diff --git a/views/default/login.php b/views/default/login.php index a09a65705..b6967ea1b 100644 --- a/views/default/login.php +++ b/views/default/login.php @@ -14,7 +14,7 @@ ?>
<div id="login-box">
- <form action="<?php echo $vars['url']; ?>actions/login.php" method="POST">
+ <form action="<?php echo $vars['url']; ?>action/login" method="POST">
<label>Username<br /><input name="username" type="text" class="general-textarea" /></label>
<br />
<label>Password<br /><input name="password" type="password" class="general-textarea" /></label><br />
|