X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0e66875ace5baf3b86221abd7db86293422c0898..8c8d55736f31d91454385990b690d26afafbf6f5:/app/controllers/user_controller.rb diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index f01157bc0..998a636c1 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -116,6 +116,8 @@ class UserController < ApplicationController redirect_to :controller => 'site', :action => 'index' end return + elsif User.authenticate(email, pass, false) + flash[:notice] = "Sorry, your account is not active yet.
Please click on the link in the account confirmation email to activate your account." else flash[:notice] = "Sorry, couldn't log in with those details." end