mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-12 21:06:27 +00:00
Suppression de la ligne inutile
This commit is contained in:
parent
ae5ef6a3c5
commit
c5b3f50955
1 changed files with 0 additions and 1 deletions
|
@ -695,7 +695,6 @@ class User(RevMixin, FieldPermissionModelMixin, AbstractBaseUser,
|
|||
def autoregister_machine(self, mac_address, nas_type):
|
||||
""" Fonction appellée par freeradius. Enregistre la mac pour
|
||||
une machine inconnue sur le compte de l'user"""
|
||||
all_interfaces = self.user_interfaces()
|
||||
if Machine.can_create(self):
|
||||
return False, _("Maximum number of registered machines reached.")
|
||||
if not nas_type:
|
||||
|
|
Loading…
Reference in a new issue