#registration using invitation

5 messages · Page 1 of 1 (latest)

tidal sky
#

I giving the admin the possibility to send a register link to a professor using their email, I have defined the invitations migration and controller, and the admin enters the email and generates the invite token then they send the registration link to the email, when I click the link though, I get redirected to the admin panel instead of seeing the register form, please help me identify the issue here.

sacred light
#

Either it’s not getting to the route or middleware on the route is causing redirect

#

You’ve not provided enough code to see what, so you’ll have to debug this further

tidal sky
#

I made sure there's no middleware on the route

#

actually, I did put the auth middleware on the professor controller's constructor, mow that I have removed it, there's still something causing redirection