File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,9 @@ public function onSignin()
205205 $ messages ['login ' ] = $ this ->loginAttribute () == UserSettings::LOGIN_USERNAME
206206 ? trans ('winter.user::lang.account.invalid_username ' )
207207 : trans ('winter.user::lang.account.invalid_email ' );
208+ $ messages ['login.required ' ] = $ this ->loginAttribute () == UserSettings::LOGIN_USERNAME
209+ ? trans ('winter.user::lang.account.required_username ' )
210+ : trans ('winter.user::lang.account.required_email ' );
208211
209212 if (!array_key_exists ('login ' , $ data )) {
210213 $ data ['login ' ] = post ('username ' , post ('email ' ));
Original file line number Diff line number Diff line change 180180 'invalid_current_pass ' => 'The current password you entered was invalid. ' ,
181181 'invalid_username ' => 'The username you have entered is invalid. ' ,
182182 'invalid_email ' => 'The email address you have entered is invalid. ' ,
183+ 'required_username ' => 'The username field is required. ' ,
184+ 'required_email ' => 'The email address field is required. ' ,
183185 'success_activation ' => 'Successfully activated your account. ' ,
184186 'success_deactivation ' => 'Successfully deactivated your account. Sorry to see you go! ' ,
185187 'success_saved ' => 'Settings successfully saved! ' ,
You can’t perform that action at this time.
0 commit comments