mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
perf: rename ad to ds
This commit is contained in:
@@ -81,7 +81,7 @@ class Migration(migrations.Migration):
|
||||
models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date password last updated')),
|
||||
('need_update_password', models.BooleanField(default=False, verbose_name='Need update password')),
|
||||
('source', models.CharField(
|
||||
choices=[('local', 'Local'), ('ldap', 'LDAP/AD'), ('ldap_ha', 'LDAP/AD (HA)'), ('openid', 'OpenID'),
|
||||
choices=[('local', 'Local'), ('ldap', 'LDAP/DS'), ('ldap_ha', 'LDAP/DS (HA)'), ('openid', 'OpenID'),
|
||||
('radius', 'Radius'), ('cas', 'CAS'), ('saml2', 'SAML2'), ('oauth2', 'OAuth2'),
|
||||
('wecom', 'WeCom'), ('dingtalk', 'DingTalk'), ('feishu', 'FeiShu'), ('lark', 'Lark'),
|
||||
('slack', 'Slack'), ('custom', 'Custom')], default='local', max_length=30,
|
||||
|
||||
@@ -9,8 +9,8 @@ from django.utils.translation import gettext_lazy as _
|
||||
|
||||
class Source(models.TextChoices):
|
||||
local = "local", _("Local")
|
||||
ldap = "ldap", "LDAP/AD"
|
||||
ldap_ha = "ldap_ha", "LDAP/AD (HA)"
|
||||
ldap = "ldap", "LDAP/DS"
|
||||
ldap_ha = "ldap_ha", "LDAP/DS (HA)"
|
||||
openid = "openid", "OpenID"
|
||||
radius = "radius", "Radius"
|
||||
cas = "cas", "CAS"
|
||||
|
||||
@@ -247,7 +247,7 @@ class UserSerializer(
|
||||
},
|
||||
"source": {
|
||||
"help_text": _(
|
||||
"User source identifies where the user was created, which could be AD or other sources."
|
||||
"User source identifies where the user was created, which could be DS or other sources."
|
||||
"There are security settings that can restrict users to log in to the system only from the sources."
|
||||
),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user