2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-09 19:03:09 +08:00

Allow CAS authentication

This commit is contained in:
Emili Parreno 2013-08-28 14:32:51 +02:00
parent 61281a3c81
commit ee96fabcba
2 changed files with 3 additions and 1 deletions

View file

@ -11,7 +11,8 @@ class Users::OmniauthCallbacksController < ApplicationController
Auth::OpenIdAuthenticator.new("yahoo", "https://me.yahoo.com", trusted: true),
Auth::GithubAuthenticator.new,
Auth::TwitterAuthenticator.new,
Auth::PersonaAuthenticator.new
Auth::PersonaAuthenticator.new,
Auth::CasAuthenticator.new
]
skip_before_filter :redirect_to_login_if_required