Commit 7db31578 authored by Valentin Samir's avatar Valentin Samir

Forgotten return

parent 90262b0b
......@@ -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"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment