mirror of https://github.com/jumpserver/jumpserver
[Update] 更新用户添加CAS来源选项
parent
27ffed1be9
commit
3f6d7637c3
|
@ -330,4 +330,6 @@ def get_source_choices():
|
||||||
choices.append((User.SOURCE_OPENID, choices_all[User.SOURCE_OPENID]))
|
choices.append((User.SOURCE_OPENID, choices_all[User.SOURCE_OPENID]))
|
||||||
if settings.AUTH_RADIUS:
|
if settings.AUTH_RADIUS:
|
||||||
choices.append((User.SOURCE_RADIUS, choices_all[User.SOURCE_RADIUS]))
|
choices.append((User.SOURCE_RADIUS, choices_all[User.SOURCE_RADIUS]))
|
||||||
|
if settings.AUTH_CAS:
|
||||||
|
choices.append((User.SOURCE_CAS, choices_all[User.SOURCE_CAS]))
|
||||||
return choices
|
return choices
|
||||||
|
|
Loading…
Reference in New Issue