mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-19 20:59:24 +00:00
Now authenicates access to services based on groups, not simple tags
This commit is contained in:
@@ -17,8 +17,6 @@ class BaseService():
|
||||
|
||||
"""
|
||||
|
||||
corp_only = False
|
||||
|
||||
def add_user(self, username, password):
|
||||
""" Add a user """
|
||||
pass
|
||||
|
||||
@@ -3,9 +3,7 @@ from sso.services.jabber.ejabberdctl import eJabberdCtl
|
||||
import settings
|
||||
|
||||
class JabberService(BaseService):
|
||||
|
||||
corp_only = True
|
||||
|
||||
|
||||
def __init__(self):
|
||||
self.ejctl = eJabberdCtl(sudo=settings.JABBER_SUDO)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user