Welcome Guest, Not a member yet? Register   Sign In
Myth::Auth How to integrate provided views into app style
#1

Hi All,

let me start with a great Thanks to the Developers for this awesome lib: myth auth !

I'm wondering which is the best way to integrate the provided views (login, registration, ...) into the user app style.

Following the readme you suggest to:

Quote:override the views used by editing Config/Auth.php, and changing the appropriate values within the $views variable:
Code:
public $views = [
    'login'     => 'Myth\Auth\Views\login',
    'register'  => 'Myth\Auth\Views\register',
    'forgot'    => 'Myth\Auth\Views\forgot',
    'reset'     => 'Myth\Auth\Views\reset',
    'emailForgot' => 'Myth\Auth\Views\emails\forgot',
];



If I correctly understand I should create my own views and change the $view variable to point at them, is it correct?

What's happen in case of lib updates?

Is there a way where I can style the provided views without creating new ones and be safe for future updates?

Grazie
Reply


Messages In This Thread
Myth::Auth How to integrate provided views into app style - by besh81 - 02-27-2020, 03:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB