Defect #9588 ยป whitespace_email.diff
app/controllers/account_controller.rb (working copy) | ||
---|---|---|
60 | 60 |
return |
61 | 61 |
else |
62 | 62 |
if request.post? |
63 |
user = User.find_by_mail(params[:mail]) |
|
63 |
user = User.find_by_mail(params[:mail].strip!)
|
|
64 | 64 |
# user not found in db |
65 | 65 |
(flash.now[:error] = l(:notice_account_unknown_email); return) unless user |
66 | 66 |
# user uses an external authentification |