changeset 8277:afe7599f1d8b

auth: fix bad comment reference to fill_data
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 04 Mar 2020 13:43:08 +0100
parents fdde16d7cea0
children fefd139b4980
files kallithea/lib/auth.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/auth.py	Sat Feb 29 16:06:30 2020 +0100
+++ b/kallithea/lib/auth.py	Wed Mar 04 13:43:08 2020 +0100
@@ -404,9 +404,8 @@
     def __init__(self, user_id=None, dbuser=None, is_external_auth=False):
         self.is_external_auth = is_external_auth # container auth - don't show logout option
 
-        # These attributes will be overridden by fill_data, below, unless the
-        # requested user cannot be found and the default anonymous user is
-        # not enabled.
+        # These attributes will be overridden below if the requested user is
+        # found or anonymous access (using the default user) is enabled.
         self.user_id = None
         self.username = None
         self.api_key = None