From dce5fbb4720127132b10ae7ea780e298b0250d88 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sun, 20 Oct 2019 21:43:01 -0700 Subject: [PATCH] fixed validate maybe --- gluon/packages/dal | 2 +- gluon/tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gluon/packages/dal b/gluon/packages/dal index 74c4a1c8..a16c0046 160000 --- a/gluon/packages/dal +++ b/gluon/packages/dal @@ -1 +1 @@ -Subproject commit 74c4a1c832770f15de06d8ac9edd0d47c579bc6c +Subproject commit a16c0046bff21ab48e306811828cc021c8ebaeb6 diff --git a/gluon/tools.py b/gluon/tools.py index a6d79678..61db6e2a 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -2301,7 +2301,7 @@ class Auth(AuthAPI): # in this case they will have to reset their password to login if fields.get(settings.passfield): fields[settings.passfield] = \ - settings.table_user[settings.passfield].validate(fields[settings.passfield])[0] + settings.table_user[settings.passfield].validate(fields[settings.passfield], None)[0] if not fields.get(settings.userfield): raise ValueError('register_bare: userfield not provided or invalid') user = self.get_or_create_user(fields, login=False, get=False,