Commit 9006a635 authored by Gabriel Detraz's avatar Gabriel Detraz Committed by root

Fix, plante pas si machine inconnue

parent ea7e50f5
......@@ -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", '')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment