From 8bccaa6ee21729168a1604ab40da831b4c630985 Mon Sep 17 00:00:00 2001 From: ibuler Date: Sun, 8 Oct 2017 19:43:55 +0800 Subject: [PATCH] Update issue template --- .github/ISSUE_TEMPLATE.md | 1 + apps/users/models/user.py | 1 + 2 files changed, 2 insertions(+) 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'))