mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
* Added SSOUser extension profile for auth * Now checks for Corp membership and executes required commands * Various small fixups
10 lines
190 B
Python
10 lines
190 B
Python
import os
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
|
|
|
|
from sso.models import Service
|
|
from sso.services.jabber import JabberService
|
|
|
|
b = JabberService()
|
|
|
|
print b.check_user('matalok')
|