Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
register and login by email and password
  • I have a table like this already. users
    - id
    - name
    - email
    - password To use the FuelPHP's login system What should I do?
    Do I need to write a Custom Driver?
  • If there is no way you can change these column names, your best bet is to overload the simpleauth driver. To do so, copy simpleauth.php from Auth/classes/auth/login to app/classes/auth/login, and add it to your app bootstrap (like the example already present). After this you can modify the copy by changing the fieldnames.
  • Thank you!

Howdy, Stranger!

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

In this Discussion