diff options
-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 />
|