Commits

Alexander Schremmer committed 87f91d6

Minor fix, -a was slightly broken.

  • Participants
  • Parent commits 74df65b

Comments (0)

Files changed (1)

domination/main.py

 @app.before_request
 def before_request():
     if request.authorization and app.auth_enabled:
-        session["username"] = request.authorization.user
+        session["username"] = request.authorization.username
     if "username" in session and session["username"] not in app.users:
         app.users[session["username"]] = {"games": {}}
     session.permanent = True