Skip to content

Commit b28f9e7

Browse files
authored
Merge pull request #273 from datamweb/fix-definition-actions
docs: fix definition actions
2 parents 4fcf065 + ddf7ce8 commit b28f9e7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Turned off by default, Shield's Email-based 2FA can be enabled by specifying the
110110

111111
```php
112112
public array $actions = [
113-
'login' => \CodeIgniter\Shield\Authentication\Actions\Email2FA,
113+
'login' => 'CodeIgniter\Shield\Authentication\Actions\Email2FA',
114114
'register' => null,
115115
];
116116
```
@@ -122,7 +122,7 @@ By default, once a user registers they have an active account that can be used.
122122
```php
123123
public array $actions = [
124124
'login' => null,
125-
'register' => \CodeIgniter\Shield\Authentication\Actions\EmailActivator,
125+
'register' => 'CodeIgniter\Shield\Authentication\Actions\EmailActivator',
126126
];
127127
```
128128

0 commit comments

Comments
 (0)