I also have some comments on the latest version in repo
in auth.login()
captcha = self.settings.login_captcha or self.settings.captcha
this's had a bad effect for web applications having the login form in
the index page
This made the captcha appear in that form , the thing that had a bad
effect on the style
so what I suggest is that
you can have something like
self.settings.login_captcha_enabled = False
...................
..................
captcha = self.settings.login_captcha or self.settings.captcha if
self.settings.login_captcha_enabled else None
By doing so, every body is happy
*********
Another thing is that I found in
def del_membership(self, group_id, user_id=None):
"""
revokes membership from group_id to user_id
if user_id==None than user_id is that of current logged in
user
"""
group_id = group_id or self.id_group(role)
------------------> [role is not defined]
Did you mean :
def del_membership (self, group_id=None, user_id=None, role=None) ?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.