Skip to content

Commit af3431e

Browse files
committed
Fix PasswordRehash default config to use authenticators instead of deprecated identifiers
Fixes #1170 The default configuration was using the deprecated 'identifiers' key which causes a warning because the Password identifier is nested inside the Form authenticator, not directly in the authentication service. Changed from: 'PasswordRehash' => ['identifiers' => ['Password']] To: 'PasswordRehash' => ['authenticators' => ['Form' => 'Password']]
1 parent 3c89c1e commit af3431e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/users.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,9 @@
284284
],
285285
'RbacPolicy' => [],
286286
'PasswordRehash' => [
287-
'identifiers' => ['Password'],
287+
'authenticators' => [
288+
'Form' => 'Password',
289+
],
288290
],
289291
],
290292
'OAuth' => [

0 commit comments

Comments
 (0)