Download the PHP package networkteam/neos-passwordreset without Composer

On this page you can find all versions of the php package networkteam/neos-passwordreset. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package neos-passwordreset

Password Reset

Allow users to reset their password withing the frontend.

Installation

Configuration

Overwrite the template paths to point to your own Templates. These can be copies from the original ones. They are lend by the great project from postmarkapp.com.

The configuration authenticationProviders is an array of providers a reset is possible for. When multiple providers are given the email address is tested for each provider and the first one an account is found for creates the mail.

Policy

To make the password change functionality work, you have to add the PasswordChange privilege (Networkteam.Neos.PasswordReset:PasswordChange) to the member area role. If you use the networkteam FrontendLogin package it looks as follows:

Policy.yaml

Signals

This package provides signals for certain events.

requestResetAction

Signal name Description Parameters
accountForRequestedResetIsNotFound is fired during requestResetAction when no account could be found for the given email address email, authenticationProviderName
accountForRequestedResetIsInactive is fired during requestResetAction when the found account is inactive account, request, response
createdPasswordResetTokenForAccount is fired during requestResetActionwhen the password reset token has been created account, token
resetTokenIsInvalid is fired during resetAction when given token is invalid token, validationDate
passwordMismatchInResetAction token, newPassword, passwordRepeat, matchedNode, matchedRedirectNode
authenticationAttemptHasBeenMade account, newPassword, matchedNode, matchedRedirectNode
failedToAuthenticateAccount account, newPassword, matchedNode, matchedRedirectNode

Information flow

If the user requests a new Password an email ist sent to the given address. If no associated account could be found for the email address an email with this information is sent to inform the user that he probably used another email address for this account.

If an account was found, a token is generated to identify the request and an email is send to the user. The token is validated when the user clicks on the link in the email and submits the subsequently shown form with the new password.

Requirements / Short comings

The accounts need to have an email address as identifier aka. username. This is needed due to the nature of the underlying handling of electronic addresses in Neos. There should also be no accounts with the same email address and different authentication providers. This is possible but only for the first configured authentication provider a reset is possible.

Styling

To bring the forms in good shape for you application / website overwrite the fusion templates. There is one for each form / response.

As variables for the templates are available:


All versions of neos-passwordreset with dependencies

PHP Build Version
Package Version
Requires neos/fusion-afx Version *
neos/neos Version ~5.0 || ~7.0 || ~8.0
donatj/phpuseragentparser Version *
neos/swiftmailer Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package networkteam/neos-passwordreset contains the following files

Loading the files please wait ....