Documentation
SwitchGuard
Switching Back

Switching Back

To return to your original admin account, either:

  1. Click Switch Back in the admin bar, or
  2. Navigate to SwitchGuard → Switch Back in the admin menu.

What Happens on Switch-Back

  1. The switchguard_origin cookie is read and its HMAC signature is validated.
  2. If valid, the original admin's session is restored.
  3. The switchguard_origin cookie is cleared.
  4. The switchguard_switched_back action fires.

Switch Back vs. Switch Off

ActionEffect
Switch BackReturns to original admin session
Switch OffLogs out of target user session; does NOT restore admin session

Use Switch Off when you want to end the switched session and log in fresh as yourself.