X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2dcc6b620e7f1f577fe09e18456e30907a4a2e29..ad368d189f4842f18e81fd272c677e5d820a2da4:/app/controllers/user_controller.rb diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index a3d1b6e67..a9006e82b 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -198,6 +198,8 @@ class UserController < ApplicationController flash[:error] = t 'user.reset_password.flash token bad' redirect_to :action => 'lost_password' end + else + render :text => "", :status => :bad_request end end