Source code for the custom Mastodon (Glitchsoc) instance on berserker.town.
https://berserker.town/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
526 B
10 lines
526 B
# frozen_string_literal: true
|
|
|
|
# TODO
|
|
# The Rails 7.0 framework default here is to set this true. However, we have a
|
|
# location in devise that redirects where we don't have an easy ability to
|
|
# override a method or set a config option, but where the redirect does not
|
|
# provide this option.
|
|
# https://github.com/heartcombo/devise/blob/v4.9.2/app/controllers/devise/confirmations_controller.rb#L28
|
|
# Once a solution is found, this line can be removed.
|
|
Rails.application.config.action_controller.raise_on_open_redirects = false
|
|
|