@osnmarket/osnmarket-strapi-security
v0.0.2
Published
This is the description of the plugin.
Downloads
3
Readme
Strapi Plugin osnmarket-strapi-security
A Strapi plugin for security purposes encompassing several features:
- Password expiration after 3 months.
- Login link for new users expires after 1 day, and the user will receive an email.
- Password reset via email and on the connected user's profile.
- Password history: the new password must not match the last 2 passwords.
- Only users with the domain orange-sonatel.com can be created.
- Autologout.
- PTS.
Installation
with yarn
yarn add @osnmarket/osnmarket-strapi-security
with npm
npm install @osnmarket/osnmarket-strapi-security
Prerequisites
- Copy the patches folder to the root directory.
- Install patch-package and postinstall-postinstall.
- Add the following script to package.json:
"patch-package": "patch-package"
- Afterward, run:
yarn patch-package
Configuration
- configure reset_password template and email_confirmation template
for same action you have these variables
{{= token }} , {{= firstname }} ...
Keywords: strapi plugin
Projects
- souxate BO
Contributors:
- TEAM B2C
Licence
- MIT