Fix confirmation redirect to app without Location header

This commit is contained in:
Eugen Rochko 2022-05-14 13:36:44 +02:00
parent 2a28247f22
commit fb87d6adc2
3 changed files with 12 additions and 1 deletions

View file

@ -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