Bug in login action

How to fix ChronoForms 6 login action authorization failure.

Overview

The issue occurs when using a static field name instead of the correct data placeholder for the username in the login action settings.
Ensure the username field in the login action uses the correct data placeholder format, not a static field name, to properly pass the user input for authentication.

Answered
ChronoForms v6
Tj TjerkH 28 Sep, 2017
Hi,

I'm using Chronoforms 6.0.9, Joomla 3.8.0

Trying to implement the Login action, but unfortunately the autherisation fails always.
I have checked the username and password and also created a similar form in CFv5. In CFv5 it works, but in CFv6 I get the message "login failed"

Array
(
[option] => com_chronoforms6
[cont] => manager
[chronoform] => wachtlijstformulier
[event] => LoginCheck
[gebruikersnaam] => Kees
[password79] => Kees
[button80] =>
)
Array
(
[joomla_login19] => Array
(
[_error] => Login gebruiker mislukt.
[var] =>
)

)

Thanks for your response in advance,

Tjerk
Max_admin Max_admin 29 Sep, 2017
1 Likes
Hi Tjerk,

Please post a screenshot of your joomla login action settings.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Tj TjerkH 29 Sep, 2017
Answer
1 Likes
Hi Max,

It's not a bug it was my mistake. Thought I posted the corrrection yesterday already...
Instead of filling in
{data:username}
I filled in
username
in the username-field-provider. So my mistake.
I can only suggest to add it in a clarification sentence below the element as done with other actions. But once again, no bug, my mistake, read in the changes from v5 to v6 so I should have known better.

Sorry for the confusion,

Tjerk
This topic is locked and no more replies can be posted.