Skip to content

Commit 52288cc

Browse files
committed
fixing hardcoded label text
1 parent ae12045 commit 52288cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Maker/MakeAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ private function generateFormLoginFiles(string $controllerClass, string $userNam
281281
[
282282
'username_field' => $userNameField,
283283
'username_is_email' => false !== stripos($userNameField, 'email'),
284-
'username_label' => ucfirst(implode(' ', preg_split('/(?=[A-Z])/', 'oneTwoThree'))),
284+
'username_label' => ucfirst(implode(' ', preg_split('/(?=[A-Z])/', $userNameField))),
285285
]
286286
);
287287
}

0 commit comments

Comments
 (0)