Skip to content

Commit a7e90ce

Browse files
[12.x] Add DatabaseTokenRepository constructor signature update to upgrade guide (#10271)
* Add DatabaseTokenRepository constructor signature update to 12.x upgrade guide * formatting --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
1 parent b489ae5 commit a7e90ce

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

upgrade.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,16 @@ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManage
9191

9292
Or, if you are using [Laravel Herd's](https://herd.laravel.com) bundled copy of the Laravel installer, you should update your Herd installation to the latest release.
9393

94+
<a name="authentication"></a>
95+
### Authentication
96+
97+
<a name="updated-databasetokenrepository-constructor-signature"></a>
98+
#### Updated `DatabaseTokenRepository` Constructor Signature
99+
100+
**Likelihood Of Impact: Very Low**
101+
102+
The constructor of the `Illuminate\Auth\Passwords\DatabaseTokenRepository` class now expects the `$expires` parameter to be given in seconds, rather than minutes.
103+
94104
<a name="concurrency"></a>
95105
### Concurrency
96106

0 commit comments

Comments
 (0)