]> jfr.im git - irc/quakenet/qwebirc.git/blame - js/auth.js
Add a much better QuakeNet login system.
[irc/quakenet/qwebirc.git] / js / auth.js
CommitLineData
4fb3b38c
CP
1qwebirc.auth.loggedin = function() {
2 var user = Cookie.read("user");
3
4 return user;
5}
2f74dea9 6
391f51ff 7qwebirc.auth.enabled = function() {
65f2c94c 8 return true;
2f74dea9
CP
9}
10
11qwebirc.auth.quakeNetAuth = function() {
65f2c94c 12 return true;
2f74dea9
CP
13}
14
15qwebirc.auth.passAuth = function() {
65f2c94c 16 return false;
6ce70043
CP
17}
18
19qwebirc.auth.bouncerAuth = function() {
391f51ff
CP
20 return false;
21}