Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
pad-upe
Commits
89a6c970
Commit
89a6c970
authored
Feb 03, 2023
by
alissonalbuquerque
Browse files
refatoração de envio de email
parent
10fd7287
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/Auth/NewPasswordController.php
View file @
89a6c970
...
...
@@ -69,7 +69,7 @@ class NewPasswordController extends Controller
// the application's home authenticated view. If there is an error we can
// redirect them back to where they came from with their error message.
return
$status
==
Password
::
PASSWORD_RESET
?
redirect
()
->
route
(
'login'
)
->
with
(
's
tatus'
,
__
(
$status
)
)
?
redirect
()
->
route
(
'login'
)
->
with
(
's
uccess'
,
'Sua senha foi alterada com sucesso!'
)
:
back
()
->
withInput
(
$request
->
only
(
'email'
))
->
withErrors
([
'email'
=>
__
(
$status
)]);
}
...
...
resources/views/auth/login.blade.php
View file @
89a6c970
...
...
@@ -8,12 +8,12 @@
<
div
class
=
"col-md-12 col-lg-7"
>
<
div
class
=
"login-wrap"
>
<!--
Session
Status
-->
<
x
-
auth
-
session
-
status
class
=
"mb-4"
:
status
=
"session('status')"
/>
<!--
Validation
Errors
-->
<
x
-
auth
-
validation
-
errors
class
=
"alert alert-danger mb-2"
:
errors
=
"
$errors
"
/>
<!--
Session
Status
-->
@
include
(
'components.alerts'
)
<
form
action
=
"{{ route('login') }}"
method
=
"POST"
class
=
"signin-form d-md-flex"
>
@
csrf
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment