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)