Skip to content

Commit ddf7ce8

Browse files
committed
docs: fix definition actions
1 parent 53e2e30 commit ddf7ce8

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)