diff options
author | Stan Hu <stanhu@gmail.com> | 2016-08-23 11:06:54 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-08-23 11:09:16 +0300 |
commit | e665444724cd5d213d2d2d37267c3ded08912296 (patch) | |
tree | 393c2d9ad8abab63ea95af32744ce40168a472b5 /app/controllers/admin | |
parent | 148b8487b817a0c8854c6842109ce1abc5aa4306 (diff) |
Fix incorrect "stopped impersonation" log message
Closes #21015
Diffstat (limited to 'app/controllers/admin')
-rw-r--r-- | app/controllers/admin/impersonations_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/impersonations_controller.rb b/app/controllers/admin/impersonations_controller.rb index 8be35f00a77..9433da02f64 100644 --- a/app/controllers/admin/impersonations_controller.rb +++ b/app/controllers/admin/impersonations_controller.rb @@ -7,7 +7,7 @@ class Admin::ImpersonationsController < Admin::ApplicationController warden.set_user(impersonator, scope: :user) - Gitlab::AppLogger.info("User #{original_user.username} has stopped impersonating #{impersonator.username}") + Gitlab::AppLogger.info("User #{impersonator.username} has stopped impersonating #{original_user.username}") session[:impersonator_id] = nil |