Fix confirmation redirect to app without Location
header
This commit is contained in:
parent
2a28247f22
commit
fb87d6adc2
3 changed files with 12 additions and 1 deletions
|
@ -8,4 +8,8 @@ module ApplicationExtension
|
|||
validates :website, url: true, length: { maximum: 2_000 }, if: :website?
|
||||
validates :redirect_uri, length: { maximum: 2_000 }
|
||||
end
|
||||
|
||||
def confirmation_redirect_uri
|
||||
redirect_uri.lines.first.strip
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue