Plugins joomla login does not work

prince25 23 Jan, 2019
I created a multi-page form:
- the first access with joomla login
- the secona with a form that is only visible to the loggers of a particular user group.
I inserted the joomla plugin in the submit reporting the references to the fields created in the designer section in the username and password boxes.
Access does not work ... error message incorrect credentials or unregistered user.
What did I miss or miss?
Thank you
healyhatman 23 Jan, 2019
What exactly did you put in those boxes, and are you absolutely sure you have the right username and password.
prince25 24 Jan, 2019
I am attaching 2 schortcut.
The login is used to access the second page of the multi-page.
I'm sure of credentials because I log in with the login from the front end in other pages of the sitePlugins joomla login does not work image 1
Plugins joomla login does not work image 2
healyhatman 24 Jan, 2019
{data:nome_utente} and {data:password4}

OR if they're in session data (using the multipage action) it should be {session:multipage.nome_utente} and {session:multipage.password4}
prince25 24 Jan, 2019
the user takes it, password errorPlugins joomla login does not work image 3
healyhatman 24 Jan, 2019
"Empty password not allowed" so you're not getting the field value to it proplerly. Try one of the things I said.

Also make sure you've enabled the user (blocked status provider 0)
prince25 24 Jan, 2019
sorry I created chaos.
The login works perfectly to access the administrative area.
But the login, whose form must not have access restrictions (public), I need to access a "restricted" area which can only be accessed by registered users of the ID group [13].
I have to enter the permissions .. I do it with the tabs permission?
what to put in which box?
healyhatman 24 Jan, 2019
Sorry you'll have to be clearer. Are you able to log in now? Did you put the field names in to your login action the way I told you?
prince25 24 Jan, 2019
Sorry
yes, I entered with the fields {data: user_name} and {data: password4} with the user registered in the administrative section: OK.
If I try to enter with a registered user in another Users group [13], an error message "you do not have the credentials to enter the administrative section" ... rightly because the user is not enabled.
Well, I have to use the login, whose form is inserted in a joomla article with public access, to access an area that can only be accessed by the user group [13]
I hope I have been clearer .....
sorry
healyhatman 24 Jan, 2019
As per the email, I've sorted it for you. There are a bunch of ways you can do it, but I've gone with

1) log user in
2) Use PHP to check if user is in the group you want
3) Use an event switched based on that PHP block - if they're not in the right group, send them to a "denied" event.
prince25 24 Jan, 2019
Ok, thanks to healyhatman I almost got to the end.
Summary:
I created a login to access a protected area and allowed only to a group of users.

Next phase:
I created a multipage consisting of two pages: the first is the login login, the second is an area of upload files.
I have inserted in the login plugins {{session: multipage.username} and {session: multipage.password}

Question: what reference should you put in the Multipage Data provider box, by default {data:}, to link the login plugin output?

A thousand thanks again.
healyhatman 24 Jan, 2019
If the first page is login, you don't need {session:multi-page} just leave it as {data
This topic is locked and no more replies can be posted.