Project

General

Profile

Defect #9588 ยป whitespace_email.diff

whitespace trim - Nitish Upreti, 2012-03-30 15:33

View differences:

app/controllers/account_controller.rb (working copy)
return
else
if request.post?
user = User.find_by_mail(params[:mail])
user = User.find_by_mail(params[:mail].strip!)
# user not found in db
(flash.now[:error] = l(:notice_account_unknown_email); return) unless user
# user uses an external authentification
    (1-1/1)