Make sure "please read the terms" error is issued in the right language
This commit is contained in:
parent
2fd52ddf60
commit
8024a38be4
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ class ApplicationController < ActionController::Base
|
|||
# allow editing - they have to go to the web site and see
|
||||
# (but can decline) the CTs to continue.
|
||||
if REQUIRE_TERMS_SEEN and not @user.terms_seen
|
||||
set_locale
|
||||
render :text => t('application.setup_user_auth.need_to_see_terms'), :status => :forbidden
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue