Fix confirmation redirect to app without Location
header (#18523)
This commit is contained in:
parent
3e0e7a1cfb
commit
96129c2f10
3 changed files with 12 additions and 1 deletions
|
@ -12,4 +12,8 @@ module ApplicationExtension
|
|||
def most_recently_used_access_token
|
||||
@most_recently_used_access_token ||= access_tokens.where.not(last_used_at: nil).order(last_used_at: :desc).first
|
||||
end
|
||||
|
||||
def confirmation_redirect_uri
|
||||
redirect_uri.lines.first.strip
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue