[Update] 更新用户添加CAS来源选项

This commit is contained in:
Bai 2020-04-13 13:40:08 +08:00
parent 27ffed1be9
commit 3f6d7637c3

View File

@ -330,4 +330,6 @@ def get_source_choices():
choices.append((User.SOURCE_OPENID, choices_all[User.SOURCE_OPENID]))
if settings.AUTH_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