Commit b8ddc76a authored by Carlos André's avatar Carlos André
Browse files

login abrindo quando ocorre um erro

parent 933c7556
......@@ -108,11 +108,12 @@
<div style="color: rgb(0, 140, 255); margin: 5px; text-align: center; font-size: 20px;">
Entrar
</div>
<input type="hidden" name="login" value="0">
<div style="margin-top: 30px;">
<label for="email" class="col-form-label negrito" style="color: rgb(0, 140, 255);">{{ __('Endereço de E-mail') }}</label>
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
@error('email')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
......@@ -333,7 +334,7 @@
event.stopPropagation();
});
});
@if(old('email') != null)
@if(old('login') != null)
$(document).ready(function() {
$('#dropdownMenuLink').click();
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment