From fcddf920a395011ff67fe43fe3e8440254835513 Mon Sep 17 00:00:00 2001 From: Gnonthgol Date: Fri, 14 Sep 2012 13:49:55 +0200 Subject: [PATCH 1/1] Remove the "We are changing the license" flash on the login page --- app/controllers/user_controller.rb | 4 ---- config/locales/en.yml | 2 -- 2 files changed, 6 deletions(-) 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" -- 2.43.2