Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
remember me
  • Hello,

    I am trying to put the remember_me function in place. I have been able to set the remember_me cookie which is created properly. Now, I have read the documentation but don't understand how to make my remembered user automatically log in. In other words, what am I supposed to do ?

    A quick clarification would be very much appreciated.

    Thank you for your help
  • HarroHarro
    Accepted Answer
    You don't have to do anything. If you call Auh::check(), and no user is currently logged-in, it will check for a remember-me cookie, and if present, will use that to login.
  • It works like a charm.
    Thank you Harro.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion