|
|
|
@ -39,7 +39,7 @@ class User(AbstractUser):
|
|
|
|
|
enable_otp = models.BooleanField(default=False, verbose_name=_('Enable OTP')) |
|
|
|
|
secret_key_otp = models.CharField(max_length=16, blank=True) |
|
|
|
|
_private_key = models.CharField(max_length=5000, blank=True, verbose_name=_('ssh private key')) |
|
|
|
|
_public_key = models.CharField(max_length=1000, blank=True, verbose_name=_('ssh public key')) |
|
|
|
|
_public_key = models.CharField(max_length=5000, blank=True, verbose_name=_('ssh public key')) |
|
|
|
|
comment = models.TextField(max_length=200, blank=True, verbose_name=_('Comment')) |
|
|
|
|
is_first_login = models.BooleanField(default=False) |
|
|
|
|
date_expired = models.DateTimeField(default=date_expired_default, blank=True, null=True, |
|
|
|
|