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

View File

@ -7,3 +7,4 @@ require_dependency 'auth/open_id_authenticator'
require_dependency 'auth/github_authenticator'
require_dependency 'auth/twitter_authenticator'
require_dependency 'auth/persona_authenticator'
require_dependency 'auth/cas_authenticator'