|
|
|
@ -24,7 +24,7 @@ $timeout = (TIMEOUT_MINUTES == 0 ? 0 : time() + TIMEOUT_MINUTES * 60);
|
|
|
|
|
// logout?
|
|
|
|
|
if(isset($_GET['logout'])) {
|
|
|
|
|
setcookie("verify", '', $timeout, '/'); // clear password;
|
|
|
|
|
header('Location: ' . "/webproxy/");
|
|
|
|
|
header('Location: ' . "/web-proxy/");
|
|
|
|
|
exit();
|
|
|
|
|
}
|
|
|
|
|
if(!function_exists('showLoginPasswordProtect')) {
|
|
|
|
@ -321,7 +321,7 @@ function showLoginPasswordProtect($error_msg) {
|
|
|
|
|
<button type="submit" value="Submit" class="login__submit">Login</button>
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
<p class="login__signup">Don't have an password? <a>Ask M.Reber</a></p>
|
|
|
|
|
<p class="login__signup">Don't have an password? <a>Good luck.</a></p>
|
|
|
|
|
<font color="red" style="font-size: x-small";><?php echo $error_msg; ?></font>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -401,7 +401,7 @@ if (isset($_POST['access_password'])) {
|
|
|
|
|
unset($_POST['access_login']);
|
|
|
|
|
unset($_POST['access_password']);
|
|
|
|
|
unset($_POST['Submit']);
|
|
|
|
|
header('Location: ' . $logoutURL . '/webproxy/');
|
|
|
|
|
header('Location: ' . $logoutURL . '/web-proxy/');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|