Skip to content

Commit 7c1ab83

Browse files
committed
docsphpdocst for customregiste actions toend
1 parent 433539a commit 7c1ab83

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Config/Auth.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ class Auth extends BaseConfig
9595
* - register: \CodeIgniter\Shield\Authentication\Actions\EmailActivator::class
9696
* - login: \CodeIgniter\Shield\Authentication\Actions\Email2FA::class
9797
*
98+
* Custom Actions and Requirements:
99+
*
100+
* - All actions must implement \CodeIgniter\Shield\Authentication\Actions\ActionInterface.
101+
* - Custom actions for "register" must have a class name that ends with the suffix "Activator" (e.g., `CustomSmsActivator`) ensure proper functionality.
102+
*
98103
* @var array<string, class-string<ActionInterface>|null>
99104
*/
100105
public array $actions = [

0 commit comments

Comments
 (0)