We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Form::ON_SUBMIT
ON_SUCCESS
1 parent b6fd551 commit 8dff271Copy full SHA for 8dff271
1 file changed
application/controllers/AuthenticationController.php
@@ -128,7 +128,7 @@ public function loginAction()
128
$button,
129
ClassLoader::classBelongsToModule($class) ? ClassLoader::extractModuleName($class) : null
130
))
131
- ->on(LoginButtonForm::ON_SUCCESS, function () use ($button): void {
+ ->on(Form::ON_SUBMIT, function () use ($button): void {
132
($button->onClick)();
133
})
134
->handleRequest($request);
0 commit comments