diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 9457678f2..7690516f9 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -13,3 +13,4 @@ ##### 其他 +[注:] 完成后请关闭 issue diff --git a/apps/users/models/user.py b/apps/users/models/user.py index b385bbaf3..e6f5724c4 100644 --- a/apps/users/models/user.py +++ b/apps/users/models/user.py @@ -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'))