Log-in-as via Incognito window
The Log-in-as via Incognito window plugin enhances the standard Moodle “Log in as” feature. Instead of switching users within the same browser session, it opens the impersonated session in a new Incognito window — keeping the admin session active in the main window and avoiding the need to log back in afterwards.
Features
Section titled “Features”- “Log in as” opens in a new Incognito window — no repeated logins for administrators
- Admin session remains active in the main window in parallel
- Incognito mode isolates the “Log in as” session from normal LMS use
Known limitations
Section titled “Known limitations”- In Safari, “Open in New Private Window” is only available when already in a private window
- In Chrome and Edge, Incognito windows share a single session — only one “Log in as” session can be active at a time
- Course-level “Log in as” is not supported
- The generated link expires after fifteen seconds, which may be an accessibility concern
- Mobile and tablet browsers may not be fully supported
Installation
Section titled “Installation”This plugin has no dependencies. Download the release package from the tags page and install it under Site administration ▸ Plugins ▸ Install plugins, or use Git:
For Moodle 5.1.x and later, clone the plugin into public/admin/tool/muloginas instead. Use
MOODLE_500_STABLE for Moodle 5.1.x and later.
git clone -b MOODLE_405_STABLE https://github.com/moodle/moodle.gitcd moodlegit clone -b MOODLE_405_STABLE https://github.com/mutms/moodle-tool_muloginas.git admin/tool/muloginasThen continue with the standard Moodle installation.