https://github.com/dillchuk/zfcusersubstitute
It's like the su command for ZfcUser & ZF3.
https://github.com/dillchuk/zfcusersubstitute
zendframework zf3 zfcuser
Last synced: 9 months ago
JSON representation
It's like the su command for ZfcUser & ZF3.
- Host: GitHub
- URL: https://github.com/dillchuk/zfcusersubstitute
- Owner: dillchuk
- License: mit
- Created: 2017-09-09T13:39:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-13T16:54:00.000Z (over 8 years ago)
- Last Synced: 2025-07-26T16:23:07.806Z (10 months ago)
- Topics: zendframework, zf3, zfcuser
- Language: PHP
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ZfcUserSubstitute
It's like the su command for ZfcUser & ZF3.
## Installation
In your `modules.config.php`, set up
```php
'ZfcUser', 'ZfcUserSubstitute'
```
Then, when logged in, hit the following URI:
```
/admin/user/substitute/
```
Ensure the above is locked down with access controls!
Then, to exit, hit the following URI:
```
/admin/user/unsubstitute
```
You can put this exit on the UI as follows:
```php
originalIdentity()): ?>
Back to original user
```