scambra / devise_invitable

An invitation strategy for devise
MIT License
2.65k stars 551 forks source link

at a loss here - invitable & confirmable #900

Open syllogismus opened 10 months ago

syllogismus commented 10 months ago

i am using devise inevitable & confirmable. confirmation email & invite emails are working, but it seems like something goes wrong after accepting the invite token. after accepting, it redirects to NEW Password (ok), then it goes to login (flashing: "You have a pending invitation, accept it to finish creating your account. " ), which is wrong, because session came tru accepting link in invite email. here is my goal: normal signup works just fine. but for invite, i want no cornfirmation, just accept invite link / token and get new pwd page, than login. no extra confirmation. steps?

Thx

garyfoster commented 9 months ago

confirmable and invitable don't play well together when the invite hasn't been accepted yet, see this issue for more details