Skip to content

Commit 129afd9

Browse files
authored
Merge pull request #369 from datamweb/separation-of-email-tpl
refactor: moving email tpl to `src/Views/Email/`
2 parents 8c98786 + 70408b0 commit 129afd9

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/auth_actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ Views for all of these pages are defined in the `Auth` config file, with the `$v
4949
public $views = [
5050
'action_email_2fa' => '\CodeIgniter\Shield\Views\email_2fa_show',
5151
'action_email_2fa_verify' => '\CodeIgniter\Shield\Views\email_2fa_verify',
52-
'action_email_2fa_email' => '\CodeIgniter\Shield\Views\email_2fa_email',
53-
'action_email_activate_email' => '\CodeIgniter\Shield\Views\email_activate_email',
52+
'action_email_2fa_email' => '\CodeIgniter\Shield\Views\Email\email_2fa_email',
53+
'action_email_activate_email' => '\CodeIgniter\Shield\Views\Email\email_activate_email',
5454
'action_email_activate_show' => '\CodeIgniter\Shield\Views\email_activate_show',
5555
];
5656
```

src/Config/Auth.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ class Auth extends BaseConfig
2323
'layout' => '\CodeIgniter\Shield\Views\layout',
2424
'action_email_2fa' => '\CodeIgniter\Shield\Views\email_2fa_show',
2525
'action_email_2fa_verify' => '\CodeIgniter\Shield\Views\email_2fa_verify',
26-
'action_email_2fa_email' => '\CodeIgniter\Shield\Views\email_2fa_email',
27-
'action_email_activate_email' => '\CodeIgniter\Shield\Views\email_activate_email',
26+
'action_email_2fa_email' => '\CodeIgniter\Shield\Views\Email\email_2fa_email',
27+
'action_email_activate_email' => '\CodeIgniter\Shield\Views\Email\email_activate_email',
2828
'action_email_activate_show' => '\CodeIgniter\Shield\Views\email_activate_show',
2929
'magic-link-login' => '\CodeIgniter\Shield\Views\magic_link_form',
3030
'magic-link-message' => '\CodeIgniter\Shield\Views\magic_link_message',
31-
'magic-link-email' => '\CodeIgniter\Shield\Views\magic_link_email',
31+
'magic-link-email' => '\CodeIgniter\Shield\Views\Email\magic_link_email',
3232
];
3333

3434
/**
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)