Describe the bug
After user confirms account, second click on the link errors with:
{
data: null,
errors: [
{
message: "Invalid confirmation token. Please try again",
locations: [
{
line: 1,
column: 44
}
],
path: [
"userConfirmAccount"
],
extensions: {
code: "USER_ERROR"
}
}
]
}
Environment
gem "graphql_devise", "~> 0.15"
Steps to reproduce
Create new user account -> click confirmation link -> click in the link again
Expected behavior
If the user confirmed account just redirect to the redirect url.
Actual behavior
Returns graphql error
Describe the bug
After user confirms account, second click on the link errors with:
Environment
gem "graphql_devise", "~> 0.15"
Steps to reproduce
Create new user account -> click confirmation link -> click in the link again
Expected behavior
If the user confirmed account just redirect to the redirect url.
Actual behavior
Returns graphql error