Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dillchuk/zfcusersubstitute
It's like the su command for ZfcUser & ZF3.
https://github.com/dillchuk/zfcusersubstitute
zendframework zf3 zfcuser
Last synced: about 2 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 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-13T16:54:00.000Z (over 7 years ago)
- Last Synced: 2024-04-16T20:44:51.110Z (9 months ago)
- Topics: zendframework, zf3, zfcuser
- Language: PHP
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- 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```