Merge pull request #6224 from jumpserver/feat_account_manager

feat: 添加账号管理相关API
This commit is contained in:
Jiangjie.Bai
2021-06-04 11:15:53 +08:00
committed by GitHub
9 changed files with 109 additions and 79 deletions

View File

@@ -593,7 +593,7 @@ class User(AuthMixin, TokenMixin, RoleMixin, MFAMixin, AbstractUser):
source = models.CharField(
max_length=30, default=Source.local,
choices=Source.choices,
verbose_name=_('Source')
verbose_name=_('User source')
)
date_password_last_updated = models.DateTimeField(
auto_now_add=True, blank=True, null=True,