Customizing views, layout, css #470
Unanswered
mauriceb77
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Edit file public array $views = [
'login' => '\App\Views\Shield\login',
'register' => '\CodeIgniter\Shield\Views\register',
'layout' => '\CodeIgniter\Shield\Views\layout',
'action_email_2fa' => '\CodeIgniter\Shield\Views\email_2fa_show',
'action_email_2fa_verify' => '\CodeIgniter\Shield\Views\email_2fa_verify',
'action_email_2fa_email' => '\App\Views\Shield\Email\email_2fa_email',
'action_email_activate_show' => '\CodeIgniter\Shield\Views\email_activate_show',
'action_email_activate_email' => '\CodeIgniter\Shield\Views\Email\email_activate_email',
'magic-link-login' => '\CodeIgniter\Shield\Views\magic_link_form',
'magic-link-message' => '\CodeIgniter\Shield\Views\magic_link_message',
'magic-link-email' => '\CodeIgniter\Shield\Views\Email\magic_link_email',
]; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
What is the best way to customize the register and login views? I copied them to my own view files under App\Views but the views use the Shield layout view (header, css, etc.). Should I just use my own layout view and update the Auth config? I think this is best approach but want to make sure I am following best practice.
Thanks,
-mb
Beta Was this translation helpful? Give feedback.
All reactions