Is there any way to authenticate a user via email/link/code in Cartalyst Sentinel?
I'm building a simple user registration in Laravel 5.1 which sends a activation email after sign up. By clicking the link, I'd like to activate and authenticate the user in the same action, but I haven't managed to do that.
The only way seems to be passing the credentials (Sentinel::($credentials)
), but I just have the $code
and $id
, needed for the activation, and it asks for the password (which would be a little insecure the send via email, by the way).
Is there any way to do this? Thanks in advance!