Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
I want install an admin panel
  • I generate a Oil admin, I can't access to it, so i can i drive my app ?

    If i create something i could have access to it, what's a logic ?
  • can you be more specific, what do you mean "can't access it"?
  • Did i have to set also Simpleauth/Ormauth config when i use just Ormauth ?

    My purpose is to make a front end panel with some specific menu with extending possibility depending the users group.
  • HarroHarro
    Accepted Answer
    You need to copy auth.php to app/config (which is the auth driver config), and then change the driver listed to 'ormauth'. You also have to copy ormauth.php to app/config, and change it if needed.

    Once you have done that, you can run the Auth migrations through OIl, which will detect you have configured Ormauth, and will create the required tables for it. The migrations will also create a default admin user (password = admin) with super-admin access.

    Simpleauth is a different driver set (see the documentation), so you won't use both at the same time.
  • So, Mea maxima culpa, i had misunderstanding about the config, it's look fine now...
    And special bonus for the super_admin, i resume my build...
    Thank's a lot !

Howdy, Stranger!

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

In this Discussion