##// END OF EJS Templates
registration: properly expose first_name/last_name into email fake object.
marcink -
r4057:51a736f3 default
parent child Browse files
Show More
@@ -412,6 +412,10 b' class UserModel(BaseModel):'
412 self.sa.flush()
412 self.sa.flush()
413
413
414 user_data = new_user.get_dict()
414 user_data = new_user.get_dict()
415 user_data.update({
416 'first_name': user_data.get('firstname'),
417 'last_name': user_data.get('lastname'),
418 })
415 kwargs = {
419 kwargs = {
416 # use SQLALCHEMY safe dump of user data
420 # use SQLALCHEMY safe dump of user data
417 'user': AttributeDict(user_data),
421 'user': AttributeDict(user_data),
General Comments 0
You need to be logged in to leave comments. Login now