From 34273d37cebd3eea2ee87d394602a1dd660d3d2d Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Thu, 3 Apr 2014 08:45:43 -0500
Subject: [PATCH] oops: Allow clients to sign in

---
 include/class.auth.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class.auth.php b/include/class.auth.php
index efab40230..74e7b9c78 100644
--- a/include/class.auth.php
+++ b/include/class.auth.php
@@ -448,7 +448,7 @@ abstract class UserAuthenticationBackend  extends AuthenticationBackend {
     }
 
     function getAllowedBackends($userid) {
-        $backends = array('authtoken');
+        $backends = array();
         $sql = 'SELECT A1.backend FROM '.USER_ACCOUNT_TABLE
               .' A1 INNER JOIN '.USER_EMAIL_TABLE.' A2 ON (A2.user_id = A1.user_id)'
               .' WHERE backend IS NOT NULL '
-- 
GitLab