]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/auth.js
Fix several login bugs, add bouncer auth mode.
[irc/quakenet/qwebirc.git] / js / auth.js
index 8244b7e01e15b0441120b4d66b8c1eb0c6ae4fa3..d0e1be406043c7ac9328544b5f6b89008e449199 100644 (file)
@@ -5,7 +5,7 @@ qwebirc.auth.loggedin = function() {
 }
 
 qwebirc.auth.enabled = function() {
-  return true;
+  return false;
 }
 
 qwebirc.auth.quakeNetAuth = function() {
@@ -13,5 +13,9 @@ qwebirc.auth.quakeNetAuth = function() {
 }
 
 qwebirc.auth.passAuth = function() {
+  return true;
+}
+
+qwebirc.auth.bouncerAuth = function() {
   return false;
 }