summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2017-12-09 02:43:09 +0000
committerGo MAEDA <maeda@farend.jp>2017-12-09 02:43:09 +0000
commitaae275b4c65dd283dea25aa05d6f97f09732caa5 (patch)
tree398274b5b3b0ffedb6e5cd31c9144d6af8be23f4 /app
parentf093d591f146927c783b22c8d93e10cc4c97bdbe (diff)
downloadredmine-aae275b4c65dd283dea25aa05d6f97f09732caa5.tar.gz
redmine-aae275b4c65dd283dea25aa05d6f97f09732caa5.zip
Merged r17078 to 3.4-stable (#27754).
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17079 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/account_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb
index 7f51343dd..d6e1da885 100644
--- a/app/controllers/account_controller.rb
+++ b/app/controllers/account_controller.rb
@@ -98,7 +98,7 @@ class AccountController < ApplicationController
return
else
if request.post?
- email = params[:mail].to_s
+ email = params[:mail].to_s.strip
user = User.find_by_mail(email)
# user not found
unless user