mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 21:35:53 +08:00
Allow CAS authentication
This commit is contained in:
parent
61281a3c81
commit
ee96fabcba
@ -11,7 +11,8 @@ class Users::OmniauthCallbacksController < ApplicationController
|
|||||||
Auth::OpenIdAuthenticator.new("yahoo", "https://me.yahoo.com", trusted: true),
|
Auth::OpenIdAuthenticator.new("yahoo", "https://me.yahoo.com", trusted: true),
|
||||||
Auth::GithubAuthenticator.new,
|
Auth::GithubAuthenticator.new,
|
||||||
Auth::TwitterAuthenticator.new,
|
Auth::TwitterAuthenticator.new,
|
||||||
Auth::PersonaAuthenticator.new
|
Auth::PersonaAuthenticator.new,
|
||||||
|
Auth::CasAuthenticator.new
|
||||||
]
|
]
|
||||||
|
|
||||||
skip_before_filter :redirect_to_login_if_required
|
skip_before_filter :redirect_to_login_if_required
|
||||||
|
@ -7,3 +7,4 @@ require_dependency 'auth/open_id_authenticator'
|
|||||||
require_dependency 'auth/github_authenticator'
|
require_dependency 'auth/github_authenticator'
|
||||||
require_dependency 'auth/twitter_authenticator'
|
require_dependency 'auth/twitter_authenticator'
|
||||||
require_dependency 'auth/persona_authenticator'
|
require_dependency 'auth/persona_authenticator'
|
||||||
|
require_dependency 'auth/cas_authenticator'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user