From: Gnonthgol Date: Fri, 14 Sep 2012 11:49:55 +0000 (+0200) Subject: Remove the "We are changing the license" flash on the login page X-Git-Tag: live~5342 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/fcddf920a395011ff67fe43fe3e8440254835513?hp=5131a0cb16c1105cd19c51621fa6c7cb6122d8e0 Remove the "We are changing the license" flash on the login page --- diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 620ab5090..bfb0ef83b 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -259,10 +259,6 @@ class UserController < ApplicationController else password_authentication(params[:username], params[:password]) end - elsif params[:notice] - flash.now[:notice] = t "user.login.notice_#{params[:notice]}" - elsif flash[:notice].nil? - flash.now[:notice] = t 'user.login.notice' end end diff --git a/config/locales/en.yml b/config/locales/en.yml index f2b76f94a..cef8431cc 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1587,8 +1587,6 @@ en: account not active: "Sorry, your account is not active yet.
Please use the link in the account confirmation email to activate your account, or request a new confirmation email." account is suspended: Sorry, your account has been suspended due to suspicious activity.
Please contact the webmaster if you wish to discuss this. auth failure: "Sorry, could not log in with those details." - notice: "Find out more about OpenStreetMap's upcoming license change (translations) (discussion)" - notice_terms: "OpenStreetMap is moving to a new licence on 1st April 2012. It's just as open as our current one, but the legal bits are much better suited to our map database. We'd love to keep your contributions in OpenStreetMap, but we can only do so if you agree to let us distribute them under the new licence. Otherwise, we'll have to remove them from the database.

Please log in, then take a few seconds to review and accept the new terms. Thank you!" openid missing provider: "Sorry, could not contact your OpenID provider" openid invalid: "Sorry, your OpenID seems to be malformed" openid_logo_alt: "Log in with an OpenID"