"User ... has stopped impersonating ..." not logged when browser closed during impersonation
When browser closed during user impersonation there is no logging to record that impersonation has stopped.
Steps to reproduce
- Monitor log with
tail -f /var/log/gitlab/gitlab-rails/application.log
- Log in as admin user, impersonate other user
- Close browser window
What is the current bug behavior?
Event not logged
What is the expected correct behavior?
"User ... has stopped impersonating ..." should log to the application log, as impersonating of user has stopped.
(If you can, link to the line of code that might be responsible for the problem)