Another update - submitted the fixed code as a pull request. This fixes the 
issue that was causing unit tests to fail. Waiting to hear back from the 
team.

On Tuesday, April 29, 2014 4:57:49 AM UTC-4, thehuman trashcan wrote:
>
> Thanks for working on this! I think it is important and look forward to 
> implementing it.
>
> All the best
>
> On Monday, 28 April 2014 04:10:07 UTC+2, pallav wrote:
>>
>> For anyone wondering on the status, my code causes the unit tests for web 
>> services to break. I plan on looking into it over the next couple of days.
>>
>> On Sunday, April 27, 2014 2:31:37 AM UTC-4, pallav wrote:
>>>
>>> Submitted the pull requests.
>>>
>>> Source: https://github.com/web2py/web2py/pull/431
>>> Documentation: https://github.com/mdipierro/web2py-book/pull/202
>>>
>>> The two-step verification in this pull can be activated on a per-user 
>>> basis by adding the user to a group named 'web2py Two-Step Authentication'. 
>>> This string is hard-coded in the code. If a user logs in successfully with 
>>> their username and password, and they are a part of this group, then the 
>>> two-step functionality is enabled. The server sends an email to the user's 
>>> registered email address with a random code. The user has 4 tries to enter 
>>> this code before they are logged out and must enter username/password again.
>>>
>>> Possible future enhancements:
>>>
>>>    - Add some ability to customize. Let people create their own 
>>>    two-step auth methods (like the extended_login functionality)
>>>    - Add TOTP based two-factor authentication instead of sending email 
>>>    (there is already a MOTP plugin for web2py that can be used as base)
>>>
>>>
>>> On Wednesday, May 1, 2013 4:36:43 PM UTC-4, Cliff Kachinske wrote:
>>>>
>>>> If so, can you share the code?
>>>>
>>>> If not, I will put it on my todo list, but there are a lot of things in 
>>>> front of it.
>>>>
>>>> Thanks,
>>>> Cliff Kachinske
>>>>
>>>>
>>>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to