Skip to main content

password recovery component for the CubicWeb framework

Project description

Summary

The forgotpwd cube provides an easy way to generate a new password for an user, eg the common”I forgot my password” functionnality.

It is non-obstrusive and easy to plug.

Usage

This cube creates a new entity called Fpasswd. This is an internal entity: managers and users can’t read/delete or modify this kink of entity.

The workflow of password recovery is defined below :

  1. ask for a new password, the user must have a valid primary email associated to his account.

  2. An email has been sent. This email contains a generated url associated to an user. This link is valid during a short period. This time limit can be configured in the all-in-one.conf file:

    [FORGOTPWD]
    revocation-limit=<s>30 # minutes</s>
  3. If the link is valid, the user can change his password in a new form.

There is an automatic task that delete periodically all old Fpasswd which are stored in the database. This task is started at the launching of the application.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cubicweb-forgotpwd-0.9.0.tar.gz (23.5 kB view hashes)

Uploaded source

Built Distribution

cubicweb_forgotpwd-0.9.0-py3-none-any.whl (36.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page