1
0
mirror of https://github.com/flarum/core.git synced 2025-08-17 22:01:44 +02:00

Rename method and attribute, and remove unnecessary attribute filtering

This commit is contained in:
Clark Winkelmann
2018-01-11 23:05:26 +01:00
parent 26449a64fe
commit d357364712
2 changed files with 5 additions and 6 deletions

View File

@@ -109,8 +109,7 @@ class AuthenticationResponseFactory
$suggestions,
['token' => $token->id],
// List of the fields that can't be edited during sign up
// Only includes attributes on the sign up form, otherwise this could leak private attribute names
['identification_fields' => array_keys(array_only($identification, ['username', 'email']))]
['identificationFields' => array_keys($identification)]
);
}