Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
rotas de recuperação de acesso
Browse files Browse the repository at this point in the history
  • Loading branch information
ozenilsoncruz committed Dec 10, 2021
1 parent 3babb57 commit 72c01e5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,16 @@ class="form-control" name="senha" required

<div class="form-group row justify-content-center align-items-center" style="margin-bottom:0;">
<div class="col-md-8 input-group">
<a href="{{ route('password.request')}}" style="color:#1C5576;">
@php
$endereco = explode("/", $_SERVER["REQUEST_URI"]);
if(sizeof($endereco)== 3) {
$rota = "recuperarAcessoFuncionarioView";
}
else {
$rota = "recuperarAcessoClienteView";
}
@endphp
<a href="{{ route($rota)}}" style="color:#1C5576;">
{{ __('Esqueceu a sua senha?') }}</a>
</div></div>
<!-- Controla o aparecimento do campo 'Cadastra-se'-->
Expand Down

0 comments on commit 72c01e5

Please sign in to comment.