Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
xpub
xpub-epmc
Commits
d135ef58
Commit
d135ef58
authored
Jul 22, 2019
by
Audrey Hamelers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#895
parent
d150f8d7
Pipeline
#13058
passed with stages
in 5 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
app/components/password-reset/PasswordReset.jsx
app/components/password-reset/PasswordReset.jsx
+11
-1
No files found.
app/components/password-reset/PasswordReset.jsx
View file @
d135ef58
...
...
@@ -36,7 +36,17 @@ const PasswordReset = ({ errors, handleSubmit, touched, status }) => (
)
}
{
!
isEmpty
(
errors
)
&&
typeof
errors
===
'
string
'
&&
(
<
Notification
type
=
"error"
>
{
errors
}
</
Notification
>
<
Notification
type
=
"error"
>
{
errors
===
'
jwt expired
'
?
(
<
React
.
Fragment
>
{
`Your password reset link has expired. Please `
}
<
Link
to
=
"/password-reset"
>
reset your password
</
Link
>
{
` again.`
}
</
React
.
Fragment
>
)
:
(
errors
)
}
</
Notification
>
)
}
{
status
&&
status
.
reset
&&
(
...
...
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