I have a form made with Blade, which I take the data with a form through the request in Laravel 7.
<form class="user" method="POST" action="{{ route('register') }}">
@csrf
<div class="form-group">
<input id="name" type="name" class="form-control form-control-user @error('name') is-invalid @enderror" name="name" value="{{ old('name') }}" required autocomplete="name" placeholder="Ingrese su nombre">
@error('name')<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span> @enderror
</div>
<div class="form-group">
<input id="apellido" type="apellido" class="form-control form-control-user @error('apellido') is-invalid @enderror" name="apellido" value="{{ old('apellido') }}" required autocomplete="apellido" placeholder="Ingrese su apellido">
@error('apellido')<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span> @enderror
</div>
<div class="form-group">
<input id="celular" type="celular" class="form-control form-control-user @error('celular') is-invalid @enderror" name="celular" value="{{ old('celular') }}" required autocomplete="celular" placeholder="Ingrese su celular">
@error('celular')<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span> @enderror
</div>
<div class="form-group">
<input id="documento" type="documento" class="form-control form-control-user @error('documento') is-invalid @enderror" name="documento" value="{{ old('documento') }}" required autocomplete="documento" autofocus aria-describedby="documentoHelp" placeholder="Ingrese documento de identidad">
@error('documento')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong></span> @enderror
</div>
<div class="form-group">
<input id="email" type="email" class="form-control form-control-user @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus aria-describedby="emailHelp" placeholder="Ingrese su email">
@error('email')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong></span> @enderror
</div>
<div class="form-group">
<input id="password" type="password" class="form-control form-control-user form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password" placeholder="Contraseña">
@error('password')<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span> @enderror
</div>
<div class="form-group">
<input id="password-confirm" type="password" name="password_confirmation" class="form-control form-control-user form-control @error('password') is-invalid @enderror" required autocomplete="current-password" placeholder="Repetir Contraseña">
@error('password')
<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span> @enderror
</div>
<button type="submit" class="btn btn-primary btn-user btn-block">
Registrarse
</button>
<hr> @if(session('info'))
<div class="alert alert-danger" role="alert">
<b>{{session('info')}}</b>
</div>
@endif
<a href="{{ url('login/google') }}" class="btn btn-google btn-user btn-block">
<i class="fab fa-google fa-fw"></i> Acceder con Google
</a>
</form>
And Google marks the following message to me in turn I am having a problem with Google Socialite that I think may be associated.
For the insert I use the create of the Auth by default.
What can I do to solve this problem?
There are public databases that contain passwords known to have been exposed in past security breaches.
For example: https://haveibeenpwned.com/Passwords
Google Chrome consults these databases when a user enters data in a form with a field of type
password
.Therefore, if you are entering a password that has been compromised, this security alert will be triggered.
Like Google Chrome, the haveibeenpwned.com site also offers the possibility to check compromised passwords, for example, if I check the password
usuario123
it tells me that this password has already appeared in clandestinely extracted databases (Commonly said to have been hacked) .