8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

Fix, plante pas si machine inconnue

This commit is contained in:
Gabriel Detraz 2017-10-04 13:50:12 +02:00 committed by root
parent ea7e50f532
commit 9006a635cb

View file

@ -257,6 +257,8 @@ def check_user_machine_and_register(nas_type, username, mac_address):
return (True, u'Access Ok, Capture de la mac...', user.pwd_ntlm)
else:
return (False, u'Erreur dans le register mac %s' % reason, '')
else:
return (False, u'Machine inconnue', '')
else:
return (False, u"Machine inconnue", '')