If you are ok digging through code, in mostly all of my apps I use a
CustomAuthntication.py module that is basically a class that mimics
web2py's but it is very thin compared to the stock's, I use it this way not
because 'mine is better' but because I wanted to control my registration
and
The user() function is called with an additional argument in the URL (e.g.,
/user/login, /user/register, etc.). This extra argument is accessible via
request.args[0]. Now, the Auth class has a __call__ method, so the auth
object is callable. When you call it via auth(), the __call__ method
Thanks. I'm also wondering where the exposed URL's are located (/user/
login, /user/register, etc.). Can I customize these views?
On Feb 23, 9:34 pm, Anthony abasta...@gmail.com wrote:
The user() function is called with an additional argument in the URL (e.g.,
/user/login, /user/register,
On Thursday, February 23, 2012 10:00:37 PM UTC-5, davidkw wrote:
Thanks. I'm also wondering where the exposed URL's are located (/user/
login, /user/register, etc.). Can I customize these views?
The welcome app includes a /default/user.html view, which you can edit.
You can also create
Hmm, I'm still having trouble creating separate actions and views for
auth. The ones I create don't seem to override the default ones.
Is there any way I can expose auth as a controller? And rewrite the
methods in there? Thanks.
On Feb 23, 10:08 pm, Anthony abasta...@gmail.com wrote:
On
Apparently it's sort of possible but I don't think for the feint of heart:
https://groups.google.com/forum/#!searchin/web2py/override$20auth/web2py/dBRbPxRw8uQ/DLgJs-PgwAQJ
It is possible to manipulate from things in the user() function. For
example, mine looks like this:
def user():
if not
On Thursday, February 23, 2012 11:57:49 PM UTC-5, davidkw wrote:
Hmm, I'm still having trouble creating separate actions and views for
auth. The ones I create don't seem to override the default ones.
Is there any way I can expose auth as a controller? And rewrite the
methods in there?
Thanks, I wasn't trying to do anything specific. I'm just going
through the tutorial and trying to understand how stuff works.
Thanks for the link though. I hadn't found the settings info before,
and it's very helpful.
On Feb 24, 12:19 am, Anthony abasta...@gmail.com wrote:
On Thursday,
8 matches
Mail list logo