|
|
|
@ -38,6 +38,7 @@ class User(AbstractUser):
|
|
|
|
|
phone = models.CharField(max_length=20, blank=True, null=True, verbose_name=_('Phone'))
|
|
|
|
|
enable_otp = models.BooleanField(default=False, verbose_name=_('Enable OTP'))
|
|
|
|
|
secret_key_otp = models.CharField(max_length=16, blank=True)
|
|
|
|
|
# Todo: private_key may be not used
|
|
|
|
|
_private_key = models.CharField(max_length=5000, blank=True, verbose_name=_('ssh private 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'))
|
|
|
|
|