mastodon/config/initializers
Eugen Rochko db3ed498b0 When OAuth password verification fails, return 401 instead of redirect (#5111)
Call to warden.authenticate! in resource_owner_from_credentials would
make the request redirect to sign-in path, which is a bad response for
apps. Now bad credentials just return nil, which leads to HTTP 401
from Doorkeeper. Also, accounts with enabled 2FA cannot be logged into
this way.
2017-09-27 23:42:49 +02:00
..
active_model_serializers.rb Add recursive object support to API response (#4095) 2017-07-07 14:12:16 +02:00
application_controller_renderer.rb
assets.rb
backtrace_silencers.rb
blacklists.rb
cookies_serializer.rb
devise.rb
doorkeeper.rb When OAuth password verification fails, return 401 instead of redirect (#5111) 2017-09-27 23:42:49 +02:00
fast_blank.rb
filter_parameter_logging.rb
httplog.rb
inflections.rb
instrumentation.rb
json_ld.rb
kaminari_config.rb OEmbed support for PreviewCard (#2337) 2017-04-27 14:42:22 +02:00
mime_types.rb
oembed.rb
open_uri_redirection.rb
ostatus.rb
pagination.rb
paperclip.rb
rabl_init.rb
rack_attack.rb
redis.rb
session_activations.rb
session_store.rb
sidekiq.rb
simple_form.rb
single_user_mode.rb
statsd.rb
strong_migrations.rb
timeout.rb
trusted_proxies.rb
twitter_regex.rb
vapid.rb
wrap_parameters.rb