mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-17 19:59:29 +00:00
Variable error fix
This commit is contained in:
@@ -40,5 +40,5 @@ class ValidateDisabledUsers():
|
|||||||
def job(self):
|
def job(self):
|
||||||
for servacc in ServiceAccount.objects.filter(active=0):
|
for servacc in ServiceAccount.objects.filter(active=0):
|
||||||
self._logger.info('Checking %s' % servacc)
|
self._logger.info('Checking %s' % servacc)
|
||||||
if not servacc.service.api_class.disable_user(servcc.service_uid):
|
if not servacc.service.api_class.disable_user(seravcc.service_uid):
|
||||||
self._logger.error('Error disabling %s on %s' % (servacc, servacc.service))
|
self._logger.error('Error disabling %s on %s' % (servacc, servacc.service))
|
||||||
|
|||||||
Reference in New Issue
Block a user