mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-17 03:39:25 +00:00
Fixes the cron jobs and account validation, enables account deletion
This commit is contained in:
11
test.py
11
test.py
@@ -1,9 +1,12 @@
|
||||
import os
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
|
||||
|
||||
from sso.models import Service
|
||||
from sso.services.jabber import JabberService
|
||||
from eve_api.cron import UpdateAPIs
|
||||
|
||||
b = JabberService()
|
||||
b = UpdateAPIs()
|
||||
b.job()
|
||||
|
||||
print b.check_user('matalok')
|
||||
from sso.cron import RemoveInvalidUsers
|
||||
|
||||
b = RemoveInvalidUsers()
|
||||
b.job()
|
||||
|
||||
Reference in New Issue
Block a user