From dbc463c95e7a0affb64d8da32815adf8d8558403 Mon Sep 17 00:00:00 2001 From: Marco Date: Sun, 30 Jul 2017 16:17:04 +0200 Subject: [PATCH] Document new exception for 'forgotPassword' and 'resetPassword' --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 05684d9..468d992 100644 --- a/README.md +++ b/README.md @@ -231,6 +231,9 @@ catch (\Delight\Auth\InvalidEmailException $e) { catch (\Delight\Auth\EmailNotVerifiedException $e) { // email not verified } +catch (\Delight\Auth\ResetDisabledException $e) { + // password reset is disabled +} catch (\Delight\Auth\TooManyRequestsException $e) { // too many requests } @@ -269,6 +272,9 @@ catch (\Delight\Auth\InvalidSelectorTokenPairException $e) { catch (\Delight\Auth\TokenExpiredException $e) { // token expired } +catch (\Delight\Auth\ResetDisabledException $e) { + // password reset is disabled +} catch (\Delight\Auth\InvalidPasswordException $e) { // invalid password }