Skip to content

Commit

Permalink
Fixes CSRF OmniAuth issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhill committed Mar 30, 2016
1 parent 02d2f26 commit eaef1bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/shopify_app/login_protection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def redirect_to_with_fallback(url)
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="refresh" content="0; url=#{url_json_no_quotes}">
<meta http-equiv="refresh" content="1; url=#{url_json_no_quotes}">
<title>Redirecting…</title>
<script type="text/javascript">
window.location.href = #{url_json};
Expand All @@ -87,7 +87,7 @@ def fullpage_redirect_to(url)
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="refresh" content="0; url=#{url_json_no_quotes}">
<meta http-equiv="refresh" content="1; url=#{url_json_no_quotes}">
<base target="_top">
<title>Redirecting…</title>
<script type="text/javascript">
Expand Down

0 comments on commit eaef1bc

Please sign in to comment.