@Massimo
Do you have any interest in adding 2FA to py4web login similar to the way it is done in web2py?
If so, I'll take a crack at migrating the web2py 2FA to py4web. If not, I'll work on my own module to handle it.
Could it be done as a plugin?
-Jim