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

This commit is contained in:
mdipierro committed 2012-07-04 19:22:40 -05:00
1 parent 3d6335ce7c
commit ae83fe9ac4
7 files changed
+93 -35

No files matched your search

+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