]> jfr.im git - irc/quakenet/qwebirc.git/blob - js/auth.js
Fix several login bugs, add bouncer auth mode.
[irc/quakenet/qwebirc.git] / js / auth.js
1 qwebirc.auth.loggedin = function() {
2 var user = Cookie.read("user");
3
4 return user;
5 }
6
7 qwebirc.auth.enabled = function() {
8 return false;
9 }
10
11 qwebirc.auth.quakeNetAuth = function() {
12 return false;
13 }
14
15 qwebirc.auth.passAuth = function() {
16 return true;
17 }
18
19 qwebirc.auth.bouncerAuth = function() {
20 return false;
21 }