Commit 494f50aa authored by sandroresende's avatar sandroresende

correcao modulo resetar senha

parent c36299ad
......@@ -78,7 +78,7 @@ return [
|
*/
'locale' => 'en',
'locale' => 'pt-BR',
/*
|--------------------------------------------------------------------------
......
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/
'failed' => 'As informações de login não foram encontradas.',
'throttle' => 'Muitas tentativas de login. Por favor tente novamente em :seconds segundos.',
];
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; Anterior',
'next' => 'Próxima &raquo;',
];
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reminder Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
'password' => 'As senhas devem ter pelo menos seis caracteres e corresponder à confirmação.',
'reset' => 'Sua senha foi redefinida!',
'sent' => ' Enviamos um email contendo um link de redefinição. Por favor, verifique sua caixa de entrada (e também a pasta de spam, caso necessário).',
'token' => 'Este token de redefinição de senha é inválido.',
'user' => "Não foi possível encontrar um usuário com esse endereço de e-mail.",
];
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => ':Attribute deve ser aceito.',
'active_url' => ':Attribute não é uma URL válida.',
'after' => ':Attribute deve ser uma data depois de :date.',
'alpha' => ':Attribute deve conter somente letras.',
'alpha_dash' => ':Attribute deve conter letras, números e traços.',
'alpha_num' => ':Attribute deve conter somente letras e números.',
'array' => ':Attribute deve ser um array.',
'before' => ':Attribute deve ser uma data antes de :date.',
'between' => [
'numeric' => ':Attribute deve estar entre :min e :max.',
'file' => ':Attribute deve estar entre :min e :max kilobytes.',
'string' => ':Attribute deve estar entre :min e :max caracteres.',
'array' => ':Attribute deve ter entre :min e :max itens.',
],
'boolean' => ':Attribute deve ser verdadeiro ou falso.',
'confirmed' => 'A confirmação de :attribute não confere.',
'date' => ':Attribute não é uma data válida.',
'date_format' => ':Attribute não confere com o formato :format.',
'different' => ':Attribute e :other devem ser diferentes.',
'digits' => ':Attribute deve ter :digits dígitos.',
'digits_between' => ':Attribute deve ter entre :min e :max dígitos.',
'email' => ':Attribute deve ser um endereço de e-mail válido.',
'exists' => 'O :attribute selecionado é inválido.',
'filled' => ':Attribute é um campo obrigatório.',
'image' => ':Attribute deve ser uma imagem.',
'in' => ':Attribute é inválido.',
'integer' => ':Attribute deve ser um inteiro.',
'ip' => ':Attribute deve ser um endereço IP válido.',
'json' => ':Attribute deve ser um JSON válido.',
'max' => [
'numeric' => ':Attribute não deve ser maior que :max.',
'file' => ':Attribute não deve ter mais que :max kilobytes.',
'string' => ':Attribute não deve ter mais que :max caracteres.',
'array' => ':Attribute não deve ter mais que :max itens.',
],
'mimes' => ':Attribute deve ser um arquivo do tipo: :values.',
'min' => [
'numeric' => ':Attribute deve ser no mínimo :min.',
'file' => ':Attribute deve ter no mínimo :min kilobytes.',
'string' => ':Attribute deve ter no mínimo :min caracteres.',
'array' => ':Attribute deve ter no mínimo :min itens.',
],
'not_in' => 'O :attribute selecionado é inválido.',
'numeric' => ':Attribute deve ser um número.',
'regex' => 'O formato de :attribute é inválido.',
'required' => 'O campo :attribute é obrigatório.',
'required_if' => 'O campo :attribute é obrigatório quando :other é :value.',
'required_unless' => 'O :attribute é necessário a menos que :other esteja em :values.',
'required_with' => 'O campo :attribute é obrigatório quando :values está presente.',
'required_with_all' => 'O campo :attribute é obrigatório quando :values estão presentes.',
'required_without' => 'O campo :attribute é obrigatório quando :values não está presente.',
'required_without_all' => 'O campo :attribute é obrigatório quando nenhum destes estão presentes: :values.',
'same' => ':Attribute e :other devem ser iguais.',
'size' => [
'numeric' => ':Attribute deve ser :size.',
'file' => ':Attribute deve ter :size kilobytes.',
'string' => ':Attribute deve ter :size caracteres.',
'array' => ':Attribute deve conter :size itens.',
],
'string' => ':Attribute deve ser uma string',
'timezone' => ':Attribute deve ser uma timezone válida.',
'unique' => ':Attribute já está em uso.',
'url' => 'O formato de :attribute é inválido.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [],
];
......@@ -107,16 +107,13 @@
</div>
<div class="p-3 text-center">
<button class="br-button block primary mr-3" type="submit" name="entrar" value="Entrar"> {{ __('Enviar link') }}
<button class="br-button primary mr-3" type="submit" name="entrar" value="Entrar"> {{ __('Enviar link') }}
</button>
<button class="br-button danger mr-3" type="button" onclick="window.location.href='/'">Fechar
</button>
</div><!-- p-3 text-right -->
<em>
Para redefinir sua senha, enviamos um email contendo um link de redefinição. Por favor, verifique sua caixa de entrada (e também a pasta de spam, caso necessário).
Clique no link fornecido no email para acessar a página de redefinição de senha. Em seguida, você poderá inserir uma nova senha de sua escolha. Lembre-se de escolher uma senha forte e única para garantir a segurança de sua conta.
Caso não tenha recebido o email em alguns minuto
</em>
</form>
......
......@@ -130,7 +130,7 @@
<div class="p-3 text-center">
<button class="br-button primary mr-3" type="submit" name="entrar" value="Entrar"> {{ __('Resetar') }}
</button>
<button class="br-button danger mr-3" type="button" onclick="javascript:window.history.go(-1)">Voltar
<button class="br-button danger mr-3" type="button" onclick="window.location.href='/'">Fechar
</button>
</div><!-- p-3 text-right -->
</form>
......
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