You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user_management/forcing_password_reset.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,12 @@ Shield provides a way to enforce password resets throughout your application.
14
14
The `Resettable` trait on the `User` entity and the `UserIdentityModel` provides
15
15
the following methods to do so.
16
16
17
+
!!! note
18
+
19
+
If a user is put into the force reset state, Shield does nothing by default.
20
+
You need to check if a user requires password reset (see below), and set the
21
+
redirect URL for the reset page, and create the reset page.
22
+
17
23
### Check if a User Requires Password Reset
18
24
19
25
When you need to check if a user requires password reset, you can do so using the `requiresPasswordReset()` method on the `User` entity. Returns boolean `true`/`false`.
0 commit comments