forked from grengojbo/coova_json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fail.php
27 lines (25 loc) · 765 Bytes
/
fail.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?
$userurl = $_REQUEST['userurl'];
$reason = $_REQUEST['reply'];
//If it failed here we need to wipe the cookie
setcookie("hs[username]", "", time()-3600);
setcookie('hs[password]', "", time()-3600);
?>
<html>
<head>
<title>YFi Hotspot</title>
<link href="img/logo.ico" type="image/x-icon" rel="icon"/><link href="img/logo.ico" type="image/x-icon" rel="shortcut icon"/>
<style type="text/css">
@import "css/generic.css";
</style>
</head>
<body>
<div id="content">
<div id="trans-border">
<h3>Authentication Failure</h3>
<b>Reason: </b><? echo($reason); ?><br>
<a href="<? echo($userurl); ?>">Try Again</a>
</div>
</div>
</body>
</html>