diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index da4f42bb1..79d696652 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -70,7 +70,7 @@ class RegisterController extends Controller protected function validator(array $data) { return Validator::make($data, [ - 'name' => 'required|max:255', + 'name' => 'required|min:2|max:255', 'email' => 'required|email|max:255|unique:users', 'password' => 'required|min:6', ]); diff --git a/resources/lang/en/auth.php b/resources/lang/en/auth.php index 436734816..1065945c0 100644 --- a/resources/lang/en/auth.php +++ b/resources/lang/en/auth.php @@ -26,6 +26,8 @@ return [ 'remember_me' => 'Remember Me', 'ldap_email_hint' => 'Please enter an email to use for this account.', 'create_account' => 'Create Account', + 'already_have_account' => 'Already have an account?', + 'dont_have_account' => 'Don\'t have an account?', 'social_login' => 'Social Login', 'social_registration' => 'Social Registration', 'social_registration_text' => 'Register and sign in using another service.', diff --git a/resources/views/auth/forms/login/standard.blade.php b/resources/views/auth/forms/login/standard.blade.php index a12fbd753..ea63cf7ac 100644 --- a/resources/views/auth/forms/login/standard.blade.php +++ b/resources/views/auth/forms/login/standard.blade.php @@ -6,5 +6,7 @@