Show More
@@ -299,9 +299,15 b' class LoginView(BaseAppView):' | |||||
299 |
|
299 | |||
300 | action_data = {'data': new_user.get_api_data(), |
|
300 | action_data = {'data': new_user.get_api_data(), | |
301 | 'user_agent': self.request.user_agent} |
|
301 | 'user_agent': self.request.user_agent} | |
|
302 | ||||
|
303 | audit_user = audit_logger.UserWrap( | |||
|
304 | username=new_user.username, | |||
|
305 | user_id=new_user.user_id, | |||
|
306 | ip_addr=self.request.remote_addr) | |||
|
307 | ||||
302 | audit_logger.store_web( |
|
308 | audit_logger.store_web( | |
303 | 'user.register', action_data=action_data, |
|
309 | 'user.register', action_data=action_data, | |
304 |
user= |
|
310 | user=audit_user) | |
305 |
|
311 | |||
306 | event = UserRegistered(user=new_user, session=self.session) |
|
312 | event = UserRegistered(user=new_user, session=self.session) | |
307 | trigger(event) |
|
313 | trigger(event) |
General Comments 0
You need to be logged in to leave comments.
Login now