From: Kai Krueger Date: Sat, 1 May 2010 12:49:51 +0000 (+0100) Subject: Make it a bit clear when you try and login with openID and your openID isn't associat... X-Git-Tag: live~6374 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/ebcc988376b0dad8a0969803d52b1073420c77b7 Make it a bit clear when you try and login with openID and your openID isn't associated with a OSM account yet --- diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 00dbcafb6..cc12cc9e7 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -322,6 +322,10 @@ class UserController < ApplicationController @nickname = params['nickname'] @email = params['email'] @openID = params['openid'] + + if !params['openid'].nil? + flash.now[:notice] = t 'user.new.openID association' + end end def login diff --git a/config/locales/en.yml b/config/locales/en.yml index 8a8d3cdaa..2d4a634ad 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1575,6 +1575,7 @@ en: confirm password: "Confirm Password:" openID: "OpenID:" openID description: '(Optional) If you have an OpenID you can associate it with this account to login' + openID association: 'Your OpenID is not associated with a OpenStreetMap account yet.
' signup: Signup flash create success message: "User was successfully created. Check your email for a confirmation note, and you will be mapping in no time :-)

Please note that you will not be able to login until you've received and confirmed your email address.

If you use an antispam system which sends confirmation requests then please make sure you whitelist webmaster@openstreetmap.org as we are unable to reply to any confirmation requests." no_such_user: