Show More
@@ -948,7 +948,7 b' class User(Base, BaseModel):' | |||||
948 | old.update(**kwargs) |
|
948 | old.update(**kwargs) | |
949 | usr.user_data = old |
|
949 | usr.user_data = old | |
950 | Session().add(usr) |
|
950 | Session().add(usr) | |
951 | log.debug('updated userdata with ', kwargs) |
|
951 | log.debug('updated userdata with %s', kwargs) | |
952 |
|
952 | |||
953 | def update_lastlogin(self): |
|
953 | def update_lastlogin(self): | |
954 | """Update user lastlogin""" |
|
954 | """Update user lastlogin""" |
@@ -328,7 +328,7 b' class UserModel(BaseModel):' | |||||
328 | new_user = User() |
|
328 | new_user = User() | |
329 | edit = False |
|
329 | edit = False | |
330 | else: |
|
330 | else: | |
331 | log.debug('updating user %s', username) |
|
331 | log.debug('updating user `%s`', username) | |
332 | events.trigger(events.UserPreUpdate(user, user_data)) |
|
332 | events.trigger(events.UserPreUpdate(user, user_data)) | |
333 | new_user = user |
|
333 | new_user = user | |
334 | edit = True |
|
334 | edit = True |
General Comments 0
You need to be logged in to leave comments.
Login now