Skip to content

Commit

Permalink
Merge pull request #1702 from emp7yhead/fix-unlink-button
Browse files Browse the repository at this point in the history
fix csrf token on unlink button
  • Loading branch information
ReDBrother authored Dec 26, 2023
2 parents 89a87a2 + 0c1b5de commit 3d3d57f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function SocialButtons({ settings }) {
type="button"
className="bind-social"
data-method="delete"
data-csrf={window.csrf_token}
data-csrf={csrfToken}
data-to={`/auth/${provider}`}
>
{`Unlink ${formatedProviderName}`}
Expand Down

0 comments on commit 3d3d57f

Please sign in to comment.