Update issue template

pull/751/head
ibuler 2017-10-08 19:43:55 +08:00
parent 2ae3bec335
commit 8bccaa6ee2
2 changed files with 2 additions and 0 deletions

View File

@ -13,3 +13,4 @@
##### 其他
[注:] 完成后请关闭 issue

View File

@ -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'))