mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-26 06:52:53 +00:00
[Update] 更新用户添加CAS来源选项
This commit is contained in:
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
Block a user