mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2025-01-12 19:24:28 +00:00
Fix, plante pas si machine inconnue
This commit is contained in:
parent
1a4b1a4b98
commit
2d60135c27
1 changed files with 2 additions and 0 deletions
|
@ -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", '')
|
||||
|
||||
|
|
Loading…
Reference in a new issue