Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

register: show the the account activation message in the user's language

  • Loading branch information...
commit 04318c5b18cf9f1df10798dbf7d90fffd441768f 1 parent 3cdf9ec
José M. Prieto nackd authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  lib/cas/account_controller_patch.rb
1  lib/cas/account_controller_patch.rb
@@ -41,6 +41,7 @@ def logout_with_cas
41 41 end
42 42
43 43 def register_with_cas
  44 + set_language_if_valid params[:user][:language] rescue nil # Show the activation message in the user's language
44 45 register_without_cas
45 46 if CAS::CONFIG['enabled'] and !performed?
46 47 render :template => 'account/register_with_cas'

0 comments on commit 04318c5

Please sign in to comment.
Something went wrong with that request. Please try again.