summaryrefslogtreecommitdiff
path: root/src/authn.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/authn.py')
-rwxr-xr-xsrc/authn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/authn.py b/src/authn.py
index d57e382..e90118a 100755
--- a/src/authn.py
+++ b/src/authn.py
@@ -54,7 +54,7 @@ class User:
class UserDB:
def __init__(self, yamlfile):
self._users = {}
- for u, d in yaml.load(open(yamlfile)).items():
+ for u, d in yaml.safe_load(open(yamlfile)).items():
self._users[u] = User(u, d['pw'], d['authz'])
def dump(self):