Permalink
Browse files

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

  • Loading branch information...
1 parent 3cdf9ec commit 04318c5b18cf9f1df10798dbf7d90fffd441768f @nackd nackd committed Dec 30, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/cas/account_controller_patch.rb
@@ -41,6 +41,7 @@ def logout_with_cas
end
def register_with_cas
+ set_language_if_valid params[:user][:language] rescue nil # Show the activation message in the user's language
register_without_cas
if CAS::CONFIG['enabled'] and !performed?
render :template => 'account/register_with_cas'

0 comments on commit 04318c5

Please sign in to comment.