Commit 49a0e7f0 authored by Noe Nieto's avatar Noe Nieto 💬

Make recovery email unique; #79

parent 5637d5e1
......@@ -81,7 +81,7 @@ class User(AbstractUser):
'unique': _("An account with that address already exists."),
},
)
email = models.EmailField(_('email address'), blank=True, unique=True)
tunnel_user = models.CharField(max_length=250, default=None, null=True)
tunnel_password = models.CharField(max_length=250, default=None, null=True)
account_type = EnumIntegerField(enum=AccountType,
......
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