diff --git a/docs/03_login_logout_profile_register.md b/docs/03_login_logout_profile_register.md index d9ed9da..b4f8316 100644 --- a/docs/03_login_logout_profile_register.md +++ b/docs/03_login_logout_profile_register.md @@ -70,7 +70,7 @@ $form = rex_yform::factory(); $form->setObjectparams('form_name', 'logout_form'); $form->setObjectparams('form_action', rex_getUrl()); -$form->setActionField('ycom_auth_logout', ['logout']); +$form->setValueField('ycom_auth_logout', ['logout']); echo $form->getForm(); ```