$login = db_escape_string($this->link, $_POST["login"]);
$password = $_POST["password"];
- /* $remember_me = $_POST["remember_me"];
+ $remember_me = $_POST["remember_me"];
if ($remember_me) {
session_set_cookie_params(SESSION_COOKIE_LIFETIME);
session_set_cookie_params(0);
}
- @session_start(); */
+ @session_start();
if (authenticate_user($this->link, $login, $password)) {
$_POST["password"] = "";
<label style='display : inline' for="bw_limit"><?php echo __("Use less traffic") ?></label>
</div>
- <?php if (false && SESSION_COOKIE_LIFETIME > 0) { /* disabled for now */ ?>
+ <?php if (SESSION_COOKIE_LIFETIME > 0) { ?>
<div class="row">
<label> </label>