mirror of
https://github.com/mastodon/mastodon.git
synced 2026-04-24 15:18:46 -05:00
Refactor store_current_location before_action in OAuth::AuthorizationsController (#37779)
This commit is contained in:
parent
b9a538e57a
commit
d3cef82401
|
|
@ -1,10 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class OAuth::AuthorizationsController < Doorkeeper::AuthorizationsController
|
||||
skip_before_action :authenticate_resource_owner!
|
||||
|
||||
before_action :store_current_location
|
||||
before_action :authenticate_resource_owner!
|
||||
prepend_before_action :store_current_location
|
||||
|
||||
layout 'modal'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user