Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
not able to login with Auth conecpt
  • i am not able to login with auth, i have add the use with myphpadmin so i have not add the login_hash and
     2nd think how to use oil to add user in to the mysql database.
    3nd how do i can create an user registration form am add login_hash in to it
  • The login hash will be generated when you have a succesful login, it is not something you have to do yourself.

    If you use Auth::create_user() to create a new user record, you can use Auth::login() to login.

    There is an example of an Auth controller in the docs, including a method for registration.

Howdy, Stranger!

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

In this Discussion