ortgit
89893c91da
Update tools.py
...
Forgot to import 'random' module.
2014-05-12 17:08:00 -04:00
ortgit
9b4f721c71
Look in auth_group table for group role name, and use Rows correctly.
2014-05-12 16:25:23 -04:00
ortgit
d3bcde04be
Modified email subject to generic message.
2014-04-27 02:13:02 -04:00
ortgit
87edbccf5b
Added support for two-step authentication. The login function will
...
now email a 6-digit code to users if the user is part of a group
with role 'web2py TWo-Step Authentication'.
2014-04-27 01:39:51 -04:00
ortgit
3bb939d3fe
Check whether record is None before trying to read its keys otherwise app crashes on GAE (and other memdb's)
2014-04-14 01:55:30 -04:00
ortgit
222b087a8d
time_expire=0 should clear memcache entry
...
If time_expire=0, then the cache should be cleared and reset with the
latest value to stay compatible with documented web2py functionality of
how caching works. Previous change broke this compatibility while adding
efficiency in other cases.
2014-04-14 01:32:54 -04:00