X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0e66875ace5baf3b86221abd7db86293422c0898..e6af088dda8e85f53b11ffbaddb11edf08e4a046:/app/controllers/user_controller.rb?ds=sidebyside 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