We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Login/Register Phalcon - Is any library that have login/register system for Phalcon?

Hi,

I want to implement for my application a login/register system a simple one is any library for this for Phalcon? Or if let's say if I had a condition:

In controller I verify if the session is a guest sesion or a user session, what I don't know it is, how to redirect a user to a page let's say admin page if session = user session and if not redirect to the home page and if a guest user want to access admin page again the page to be blocked or something like this. How can I restrict the access to admin page after logout?

Thanks!



3.4k

A quick GitHub search gave https://github.com/calinrada/PhalconUserPlugin which seems to do what you need.



5.7k

A quick GitHub search gave https://github.com/calinrada/PhalconUserPlugin which seems to do what you need.

Hi, this is great but I need something more easy like an example of simple login or auth system. I want to see the steps to do this system.