Download the PHP package nti/impersonation-bundle without Composer
On this page you can find all versions of the php package nti/impersonation-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package impersonation-bundle
NTIImpersonationBundle
Overview
This bundle lets you change the login to another user without needing the users' password. This is useful when you have a list of users and someone complains that they in particular are having a specific issue. Using this bundle you could change your login to that of the user without asking for the password.
Installation
-
Install the bundle using composer:
-
Add the bundle configuration to the AppKernel
-
Setup the configuration in the
config.yml
- Update the database schema
Requirements
- The entity that the bundle uses is currently hard coded to AppBundle\Entity\User\User and it uses the "username" property to find a valid user to impersonate.
Usage
-
Generate an impersonation key
-
Copy the provided key and go to the url:
/nti/impersonate/{key}
- You will be redirected to the configured route logged in as the user for which the key was generated.