Auth(...,salt=True), thanks Dave Stoll

This commit is contained in:
mdipierro
2012-07-04 19:22:40 -05:00
parent 3d6335ce7c
commit ae83fe9ac4
7 changed files with 93 additions and 35 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ response.generic_patterns = ['*'] if request.is_local else []
#########################################################################
from gluon.tools import Auth, Crud, Service, PluginManager, prettydate
auth = Auth(db, hmac_key=Auth.get_or_create_key())
auth = Auth(db, hmac_key=Auth.get_or_create_key(), salt=True)
crud, service, plugins = Crud(db), Service(), PluginManager()
## create all tables needed by auth if not custom tables