mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 08:19:05 +00:00
Merge commit '8ba1487f30685fff4555a7537d3e6c765c73a07c' into glitch-soc/merge-upstream
Conflicts: - `spec/models/concerns/account/interactions_spec.rb`: Conflict due to glitch-soc having modified specs ages ago. The covered code is the same as upstream, though. Took upstream's version of the specs. - `spec/models/status_spec.rb`: Conflict because glitch-soc tests for an extra glitch-soc-specific method. Added upstream's changes while keeping the glitch-soc method.
This commit is contained in:
@@ -101,7 +101,7 @@ class ApplicationController < ActionController::Base
|
||||
end
|
||||
|
||||
def after_sign_out_path_for(_resource_or_scope)
|
||||
if ENV['OMNIAUTH_ONLY'] == 'true' && ENV['OIDC_ENABLED'] == 'true'
|
||||
if ENV['OMNIAUTH_ONLY'] == 'true' && Rails.configuration.x.omniauth.oidc_enabled?
|
||||
'/auth/auth/openid_connect/logout'
|
||||
else
|
||||
new_user_session_path
|
||||
|
||||
Reference in New Issue
Block a user