mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-14 22:39:10 +00:00
feat: 密码计划邮件提醒
This commit is contained in:
@@ -576,6 +576,9 @@ class User(AuthMixin, TokenMixin, RoleMixin, MFAMixin, AbstractUser):
|
||||
public_key = fields.EncryptTextField(
|
||||
blank=True, null=True, verbose_name=_('Public key')
|
||||
)
|
||||
secret_key = fields.EncryptCharField(
|
||||
max_length=256, blank=True, null=True, verbose_name=_('Secret key')
|
||||
)
|
||||
comment = models.TextField(
|
||||
blank=True, null=True, verbose_name=_('Comment')
|
||||
)
|
||||
|
Reference in New Issue
Block a user