aboutsummaryrefslogtreecommitdiff
path: root/mu4web/user/local.py
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-12-01 14:43:10 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-12-01 14:43:10 +0100
commit90fd7cac1582cd627ae090b710921c07c54c8c8b (patch)
tree16dae440068c74c917ccc9982bc8e1938d980ebd /mu4web/user/local.py
parentForce search results to fit inside one line. (diff)
downloadmu4web-90fd7cac1582cd627ae090b710921c07c54c8c8b.tar.gz
mu4web-90fd7cac1582cd627ae090b710921c07c54c8c8b.tar.xz
Minor cleanups.
Diffstat (limited to '')
-rw-r--r--mu4web/user/local.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mu4web/user/local.py b/mu4web/user/local.py
index c4485ce..8de3999 100644
--- a/mu4web/user/local.py
+++ b/mu4web/user/local.py
@@ -6,6 +6,7 @@ from . import User
passwords: Passwords = password.Passwords(cast(os.PathLike, 'passwords.json'))
+
class LocalUser(User):
def validate(self, password: str) -> bool:
return passwords.validate(self._username, password)