closes #1286
This commit is contained in:
1 parent
5ca65d55d2
commit
b5c8b3ad25
1 file changed
+1
-1
+1
-1
@@ -4512,7 +4512,7 @@ class Auth(object):
|
||||
ignore_common_filters=True).select(
|
||||
limitby=(0, 1), orderby_on_limitby=False).first()
|
||||
if record:
|
||||
if hasattr(record, 'is_active') and not record.is_ctive:
|
||||
if hasattr(record, 'is_active') and not record.is_active:
|
||||
record.update_record(is_active=True)
|
||||
id = record.id
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user