Skip to content

Commit

Permalink
fix csrf token on button
Browse files Browse the repository at this point in the history
  • Loading branch information
emp7yhead committed Dec 26, 2023
1 parent 89a87a2 commit 0c1b5de
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 0c1b5de

Please sign in to comment.