Title: Passe-partout, login as a different user
Author: Jose Mortellaro
Published: <strong>March 7, 2023</strong>
Last modified: May 21, 2026

---

Search plugins

![](https://ps.w.org/passe-partout/assets/banner-772x250.jpg?rev=3190087)

![](https://ps.w.org/passe-partout/assets/icon-256x256.png?rev=2875869)

# Passe-partout, login as a different user

 By [Jose Mortellaro](https://profiles.wordpress.org/giuse/)

[Download](https://downloads.wordpress.org/plugin/passe-partout.0.0.1.zip)

 * [Details](https://scn.wordpress.org/plugins/passe-partout/#description)
 * [Reviews](https://scn.wordpress.org/plugins/passe-partout/#reviews)
 * [Development](https://scn.wordpress.org/plugins/passe-partout/#developers)

 [Support](https://wordpress.org/support/plugin/passe-partout/)

## Description

The administrators having the email which is set in Settings => General => Administration
Email Address, using their own password will be able to log in with whatever username
that is registered on the website.

This is useful if you are the main administrator and want to see the website with
the eyes of other logged users, but without knowing their passwords.

Pass-partout isn’t a user switcher plugin. Once you have logged in you can’t switch
to a different user. If you need it, you have to log out and log in again with a
different user.
 We suggest you use different browsers for the different users.

If you need a plugin to switch the user while you are logged in, you can use [User Switching](https://wordpress.org/plugins/user-switching/),
or [Login As User](https://wordpress.org/plugins/login-as-user/).
 However, with
[User Switching](https://wordpress.org/plugins/user-switching/) and [Login As User](https://wordpress.org/plugins/login-as-user/)
you will not be able to test the login form submission as a different user. Only
with Pass-partout you can log in as a different user starting from the login form
submission. You may need it if for example you want to test a learning management
system, or the account of a user who bought on your shop, or in whatever situation
you need to see what other logged-in users see when they log in.

### How a main administrator can test the login of different users without knowing their password

 * Install [Passe-partout](https://wordpress.org/plugins/passe-partout/)
 * Log in with the password of the main administrator
 * Done!

### Features

 * Extremely lightweight. The current version of the plugin has 15 lines of PHP 
   code and nothing else. No JavaScript, no CSS, no database queries.
    It just accepts
   the password of the main administrator when you log in with a different user.
 * Totally safe even though the main administrators will be able to log in as different
   users, they will never know their password.
 * Perfect if you want to test the login form submission and what other users see
   when they are logged in.

### Security

 * Passe-partout is totally safe. If you are the main administrator you could in
   any case see what other users see. This plugin just simplifies everything.
 * Users who aren’t the main administrator are absolutely not able to log in with
   a different user.
 * The main administrator will never know the password of other users because of
   this plugin.

## Reviews

![](https://secure.gravatar.com/avatar/b382bcf0dcb8789f25830744642416830ada9527ee26aaee04a00333703250e1?
s=60&d=retro&r=g)

### 󠀁[wow, so useful](https://wordpress.org/support/topic/wow-so-useful-2/)󠁿

 [Mladen Gradev](https://profiles.wordpress.org/joe8104/) March 12, 2024

Thank you for this plugin. So easy to use and so useful for testing!

![](https://secure.gravatar.com/avatar/d8a344597a21695912b21ca3390962ca5645a698c1dc032d38aa88745657d077?
s=60&d=retro&r=g)

### 󠀁[Excepcional este complemento](https://wordpress.org/support/topic/excepcional-este-complemento/)󠁿

 [BooMeranGz](https://profiles.wordpress.org/boomerangz/) August 15, 2023

Habia probado la version anterior y no me funcionaba. Ayer vi que @José había actualizado
el plugin, asi que decidi darle una nueva oportunidad y funcionó, realmente funciona
perfecto y nos permite ahorrar muchisimo tiempo en pruebas de cuentas de usuarios.
Muchas gracias @José

![](https://secure.gravatar.com/avatar/8c0ced2ad5a0c50ec3a0903b1d1946b4309a9b5e4ed01ff7f8d40bc710f49e3e?
s=60&d=retro&r=g)

### 󠀁[Nice.](https://wordpress.org/support/topic/nice-4533/)󠁿

 [nick6352683](https://profiles.wordpress.org/nick6352683/) March 7, 2023

Works like a charm. As long as this works, I’m never using User Switching again,
as this speeds up my testing time. Thanks.

![](https://secure.gravatar.com/avatar/3554e7112603ed52a5db5cfa2a35a9fa9fc82c57a4904c7b4a81900598d9a30e?
s=60&d=retro&r=g)

### 󠀁[Cool!](https://wordpress.org/support/topic/cool-1247/)󠁿

 [remitur](https://profiles.wordpress.org/remitur/) March 7, 2023

Very clean and light code, very useful plugin!

![](https://secure.gravatar.com/avatar/0750c31ad2e4acbd1e971a549974bf676de83ffafccd57e2dd7e2139fdd9e88d?
s=60&d=retro&r=g)

### 󠀁[Perfect for testing of LMS systems](https://wordpress.org/support/topic/perfect-for-testing-of-lms-systems/)󠁿

 [Jose Mortellaro](https://profiles.wordpress.org/giuse/) March 7, 2023

I’m the author but also a user of this plugin. I love it because with very few lines
of code I can test the login of different users who are registered on the website
without knowing their password.

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/passe-partout/reviews/)

## Contributors & Developers

“Passe-partout, login as a different user” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

[Translate “Passe-partout, login as a different user” into your language.](https://translate.wordpress.org/projects/wp-plugins/passe-partout)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/passe-partout/), check
out the [SVN repository](https://plugins.svn.wordpress.org/passe-partout/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/passe-partout/) 
by [RSS](https://plugins.trac.wordpress.org/log/passe-partout/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.0.1

*Initial release

## Meta

 *  Version **0.0.1**
 *  Last updated **2 months ago**
 *  Active installations **60+**
 *  WordPress version ** 4.6 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.2 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/passe-partout/)
 * Tags
 * [login](https://scn.wordpress.org/plugins/tags/login/)[passkey](https://scn.wordpress.org/plugins/tags/passkey/)
   [password](https://scn.wordpress.org/plugins/tags/password/)[switch user](https://scn.wordpress.org/plugins/tags/switch-user/)
   [user switching](https://scn.wordpress.org/plugins/tags/user-switching/)
 *  [Advanced View](https://scn.wordpress.org/plugins/passe-partout/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/passe-partout/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/passe-partout/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/passe-partout/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/passe-partout/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/passe-partout/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/passe-partout/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/passe-partout/reviews/)

## Contributors

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/passe-partout/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://buymeacoffee.com/josem)