#1 October 23, 2012 6:20am

philp
Member
Registered: April 5, 2012
Posts: 25

User authentication

I thought I would ask this before I set about writing some custom functionality:


Is it practical to use BigTree's built-in user authentication code to handle public (i.e. non-admin) user logins? It appears from looking at the codebase that the built-in authentication is tied in quite tightly with the admin system and its permissions, so I'm wary about bending it to my will!


My current thinking is that I can create a new `site_users` table and borrow from the addUser() and login() methods. I may even create this as a module, so that admin users can perform actions such as enabling/disabling accounts.

Offline

#2 October 23, 2012 8:05am

benplum
Administrator
Registered: March 30, 2012
Posts: 54

Re: User authentication

You are correct in assuming the built in user system is for the BigTree admins. Implementing your own front-end user system is ideal because it keeps users of your site separate from the admins. We've done this a few ways in the past, usually tailored to fit the exact needs of the project.

Offline

#3 October 24, 2012 5:05am

philp
Member
Registered: April 5, 2012
Posts: 25

Re: User authentication

Thanks Ben.

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.