-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eed57b8
commit d86d3ad
Showing
4 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
...minate/Auth/Enums/PasswordResetResult.php → ...te/Auth/Passwords/PasswordResetResult.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
<?php | ||
|
||
namespace Illuminate\Auth\Enums; | ||
namespace Illuminate\Auth\Passwords; | ||
|
||
enum PasswordResetResult: string | ||
class PasswordResetResult | ||
{ | ||
/** | ||
* Result indicating a successfully sent password reset email. | ||
*/ | ||
case ResetLinkSent = 'passwords.sent'; | ||
const ResetLinkSent = 'passwords.sent'; | ||
|
||
/** | ||
* Result representing a successfully reset password. | ||
*/ | ||
case PasswordReset = 'passwords.reset'; | ||
const PasswordReset = 'passwords.reset'; | ||
|
||
/** | ||
* Result indicating the user is invalid. | ||
*/ | ||
case InvalidUser = 'passwords.user'; | ||
const InvalidUser = 'passwords.user'; | ||
|
||
/** | ||
* Result indicating the token is invalid. | ||
*/ | ||
case InvalidToken = 'passwords.token'; | ||
const InvalidToken = 'passwords.token'; | ||
|
||
/** | ||
* Result indicating the password reset attempt has been throttled. | ||
*/ | ||
case Throttled = 'passwords.throttled'; | ||
const Throttled = 'passwords.throttled'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters