Jump to content

Is it possible to login to a user from the frontend?


desbest
 Share

Recommended Posts

Is it possible to login to a user (signup and logout) from the frontend?

Has someone more experienced with Processwire than me, already made this functionality the proper way, or do I have to code it myself?

Link to comment
Share on other sites

Hi @desbest,

There are any number of topics and modules in the forum discussing this, google: site:processwire.com/talk/ "frontend login" for a comprehensive list.

If you can explain what it is you want to accomplish with your project, I'm sure many will offer up suggestions about which way is most efficient for your needs.

Let us know if you have any questions.

 

  • Like 1
Link to comment
Share on other sites

If you only want frontend login, the easiest way to do it is using @adrian's Page Protector module. For tips on how to use it that way start reading from this post:

If you want to do it all by yourself? Probably the most famous post is this one (with some deprecated functions inside, so read the topic carefully):

Alternatively you can use a helper module too: https://bitbucket.org/pwFoo/frontenduser/wiki/Documentation

And as @rick said, you can search the forum for a lot more examples.

Link to comment
Share on other sites

  • 3 years later...
  • 8 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...