[web2py] Re: Different login/authentication system for different groups

2013-05-15 Thread Anthony
Do you even need the Auth system for the customers? Can't you just have an accounts table in the DB and verify the account ID and zip when a payment is made? Anthony On Wednesday, May 15, 2013 11:14:52 AM UTC-4, Andre Kozaczka wrote: Is there a way to create two different

[web2py] Re: Different login/authentication system for different groups

2013-05-15 Thread Andre Kozaczka
The way its currently setup is that they would login using their account number and billing zip. The following page will show the customer how much is currently due and there is an option to make a payment... so a session is started. Your suggestion I think would work if I just had the

[web2py] Re: Different login/authentication system for different groups

2013-05-15 Thread Anthony
You could even create your own login for the customers. Just create a page with a form that takes the account ID and the billing zip. When the form is submitted, check that the input matches an existing account, and then put the account ID in the session. Anthony On Wednesday, May 15, 2013

[web2py] Re: Different login/authentication system for different groups

2013-05-15 Thread Andre Kozaczka
Thanks Anthony... I think I was way over thinking this. For some reason I thought I needed to leverage @auth.requires_login() and my brain was stuck there. Your suggestion should work just fine. On Wednesday, May 15, 2013 12:02:06 PM UTC-4, Anthony wrote: You could even create your own