scambra / devise_invitable

An invitation strategy for devise
MIT License
2.66k stars 553 forks source link

invitation_accepted? returns FALSE in after_invitation_accepted CALLBACK #906

Closed pvin closed 8 months ago

pvin commented 8 months ago

@scambra @tom-lord @sivagollapalli @SirRawlins

I use devise_invitable (2.0.6)

invitation_accepted? returns FALSE in after_invitation_accepted CALLBACK but when I pause here and check in rails console it gives me true for invitation_accepted?

Did I miss anything??

same issue user.invitation_accepted? returns FALSE after calling user.accept_invitation! ??

pvin commented 8 months ago

This may helpful someone https://stackoverflow.com/questions/78202419/invitation-accepted-returns-false-in-after-invitation-accepted-callback