]> source.dussan.org Git - redmine.git/commit
Use HTTP status code 403 instead of 401 when REST API is disabled (#30086).
authorGo MAEDA <maeda@farend.jp>
Wed, 10 Apr 2019 02:51:28 +0000 (02:51 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 10 Apr 2019 02:51:28 +0000 (02:51 +0000)
commit6ef0a4c4cc4020150393d2a553f1b41d9fe3f38f
tree315735b8b033ebef35855ac0a13527d8154ff129
parent7cf16d4abd3efde6444366d2ae9cebdb21c13713
Use HTTP status code 403 instead of 401 when REST API is disabled (#30086).

Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18055 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/application_controller.rb
test/integration/api_test/disabled_rest_api_test.rb