Skip to content

Links not working after adding role to users #1277

Discussion options

You must be logged in to vote

Figured it out. The problem was because I was specifying the method for both login/register as POST requests instead of GET requests. Changing the method for both login and register to GET (as shown below) fixed the issue.

<Dropdown.Link href={route('login')} method="get" as="button">
  Log in
</Dropdown.Link>
<Dropdown.Link href={route('register')} method="get" as="button">
  Register
</Dropdown.Link>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andrewl64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant