X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=conf%2Fauth%2Fmysql_login.py;h=95b3aa660c4e93fe9cb1a2aac0e24bf499ce4278;hb=f029e903020a60684cc2fb236829818d798da757;hp=1e3558fdebe39f69d2fb092d2d90bab39b9cb7cd;hpb=99b371d57bb92d5aed33a97b2537c9b061ca3423;p=matthijs%2Fprojects%2Fwipi.git diff --git a/conf/auth/mysql_login.py b/conf/auth/mysql_login.py index 1e3558f..95b3aa6 100644 --- a/conf/auth/mysql_login.py +++ b/conf/auth/mysql_login.py @@ -118,7 +118,7 @@ class mysql_login(BaseAuth): if self.verbose: request.log("mysql_login: authenticated %s (email %s)" % (username, email)) - u = user.User(request, auth_username=username, auth_method=self.name, auth_attribs=('password', 'email', )) + u = user.User(request, auth_username=username, auth_method=self.name, auth_attribs=('name', 'password', 'email')) u.email = email #u.remember_me = 0 # 0 enforces cookie_lifetime config param u.create_or_update(True)