This commit is contained in:
Leonel Câmara
2016-04-12 15:10:14 +01:00
parent 5ca65d55d2
commit b5c8b3ad25

View File

@@ -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: