Don't change 'last seen' when impersonating a user

When - as an admin - you impersonate a user, their last seen is updated. That is of course because you completely impersonate the user as if he were behind the keyboard.

But… you’re not the user. You might use that option to quickly check something from the point of view of the user.

So, is it possible to skip updating the last seen? And maybe there are other things that should not be updated when logged in through the admin account.

「いいね!」 12

I agree, its something that would be handy for diagnostics.

この古いトピックを復元したのは、現在 Add 'stop impersonating' link to user avatar dropdown when impersonating - #41 by ted で調査中の impersonate に関連しているためです。

OPの動作は2013年から変わっていないことに気づきました。ユーザーになりすますと、そのユーザーの last seen 日付が更新されます。これは、管理者ユーザーリストを見れば簡単に再現できます。個人的なサイトで数年間アクセスしていなかったユーザーになりすましたところ、そのユーザーがリストの2番目になりました。

公開ユーザーリストや、そのプラグインがインストールされている場合はオンライン中のユーザーリストでも同様のことが起こっていると疑っています。

「いいね!」 1

削除されていない機能リクエストがすでにあると思います。

「いいね!」 2

よく気がつきましたね!会話は、この後のトピックで続きます。

「いいね!」 1