Registering users from an app with jbackend
-
phonemas
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 12
-
Thank you received: 0
-
-
6 years 8 months ago #6595
by phonemas
Greetings. The use case is as follows: I am building an app that uses jbackend to register users.
I wish that the users only register for the app.
I configured joomla and everything works perfectly, except that joomla publicly exposes a URL to register users (/ component / users /? View = registration) and I do not want it to be used (only accept registrations by the app)
Question: If I configure joomla so that it does not accept new users on the web (the registration URL is no longer public), how can I bypass that restriction using jbackend and register users from the app?
Thanks in advance for the answer
Solon
Please Log in or Create an account to join the conversation.
-
phonemas
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 12
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
6 years 8 months ago #6616
by admin
Hi Solon,
the jBackend user plugin relies on the Joomla model to register users, so if you disable the user registration with user settings, the registration will be unavailable also from the jbackend plugin.
To solve your problem you need to deny access to the frontend registration URL, and you can do this easily with a ReDJ redirection rule, that matches and redirect any "com_user" request.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
phonemas
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 12
-
Thank you received: 0
-
-
-
phonemas
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 12
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
6 years 6 months ago #6657
by admin
Sorry,
too late to the party. BTW the star * before the dollar $ can be removed.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
Time to create page: 0.170 seconds