fernet / auth
This package is abandoned and no longer maintained.
No replacement package was suggested.
Auth plugin for the Fernet framework
dev-master
2021-04-28 06:20 UTC
Requires
- fernet/doctrine: ^0.3
- fernet/framework: ^0.3
This package is auto-updated.
Last update: 2024-03-28 13:20:36 UTC
README
Auth plugin for the Fernet framework
Configuration
The configuration in fernet.yml is optional:
auth: invalidMessage: "Wrong username or password" userEntity: "App\Entity\MyUser" redirectTo: "/admin/"
If you set up the plugin manually don't forget to add "fernet/doctrine" to the plugins.json file.
Usage
<?php if ($this->auth->isLogged()): ?> <Logout>Sign out</Logout> <?php else: ?> <Login /> <?php endif; ?>