2016-03-31 04:47:41 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Federated Wiki: Sign-on</title>
|
|
|
|
<link id='favicon' href='/favicon.png' rel='icon' type='image/png'>
|
|
|
|
<link rel="stylesheet" href="/security/style.css">
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<img src="/favicon.png">
|
|
|
|
{{title}}
|
|
|
|
</header>
|
|
|
|
<div>
|
|
|
|
{{{authMessage}}}
|
|
|
|
</div>
|
|
|
|
</body>
|
2016-04-29 20:29:58 +00:00
|
|
|
<script src="/security/winchan.js"></script>
|
|
|
|
<script>
|
2016-05-29 18:28:46 +00:00
|
|
|
|
|
|
|
document.cookie = "state=loggedIn" + ";domain=." + window.location.hostname + "; path=/; max-age=60;"
|
2016-04-29 20:29:58 +00:00
|
|
|
var wc = WinChan.onOpen(function(origin, r, cb) {
|
|
|
|
cb({
|
|
|
|
done: true,
|
|
|
|
timestamp: new Date().toString()
|
|
|
|
});
|
|
|
|
window.close();
|
|
|
|
})
|
|
|
|
</script>
|
2016-03-31 04:47:41 +00:00
|
|
|
</html>
|