Forgotten return

This commit is contained in:
Valentin Samir 2016-06-27 14:01:39 +02:00
parent 90262b0b97
commit 7db3157864

View file

@ -90,7 +90,7 @@ class MysqlAuthUser(AuthUser): # pragma: no cover
def test_password(self, password):
"""test `password` agains the user"""
if self.user:
check_password(
return check_password(
settings.CAS_SQL_PASSWORD_CHECK,
password,
self.user["password"],