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=30 # minutes
  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-1.0.0.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

cubicweb_forgotpwd-1.0.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file cubicweb-forgotpwd-1.0.0.tar.gz.

File metadata

  • Download URL: cubicweb-forgotpwd-1.0.0.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cubicweb-forgotpwd-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1487dd566284716093b77a02eeab6dc89196294ad9e618cb3cc5abcaf4b9ed7f
MD5 e1e595de1dfe6b4cbec66e6abb401bb9
BLAKE2b-256 1e304ff618bed6dca90927441973e1af9bea07c8c72442090d8bd57462eeb900

See more details on using hashes here.

File details

Details for the file cubicweb_forgotpwd-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cubicweb_forgotpwd-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbe776e3ad33a3f5b4f42d8369ad6059221cea81e22a7ce9ee81c0199140d9f9
MD5 4bd2becabe213e59189c49eb723fafe1
BLAKE2b-256 caaa3161c8f9d34516f60152e1a478cda425cfaf9beecd787721491d381c2944

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page