]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Don't send a noification email if somebody comments on their own diary
[rails.git] / app / controllers / application_controller.rb
index d7debcb6d43ffb7e40c48e29f352fff930da9198..0d6cdea6424fea77b93e32e047796546008a1637 100644 (file)
@@ -45,7 +45,6 @@ class ApplicationController < ActionController::Base
     # handle authenticate pass/fail
     unless @user
       # no auth, the user does not exist or the password was wrong
-      response.headers["Status"] = "Unauthorized" 
       response.headers["WWW-Authenticate"] = "Basic realm=\"#{realm}\"" 
       render :text => errormessage, :status => :unauthorized
       return false