summaryrefslogtreecommitdiffstats
path: root/src/components/auth/Signup.tsx
diff options
context:
space:
mode:
authorLibravatar André Oliveira <oliveira.andrerodrigues95@gmail.com>2023-09-28 16:11:37 +0100
committerLibravatar André Oliveira <37463445+SpecialAro@users.noreply.github.com>2023-09-30 10:13:48 +0100
commitec0914ae254af409da1f0b775460d5234b6484b7 (patch)
treea72acbd7cea38b0e68a31b311de6da1c9fed244e /src/components/auth/Signup.tsx
parent6.5.0-nightly.19 [skip ci] (diff)
downloadferdium-app-ec0914ae254af409da1f0b775460d5234b6484b7.tar.gz
ferdium-app-ec0914ae254af409da1f0b775460d5234b6484b7.tar.zst
ferdium-app-ec0914ae254af409da1f0b775460d5234b6484b7.zip
fix: login and signup error messages
Diffstat (limited to 'src/components/auth/Signup.tsx')
-rw-r--r--src/components/auth/Signup.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/auth/Signup.tsx b/src/components/auth/Signup.tsx
index fb2a2360e..06a9774aa 100644
--- a/src/components/auth/Signup.tsx
+++ b/src/components/auth/Signup.tsx
@@ -148,10 +148,10 @@ class Signup extends Component<IProps> {
148 showPasswordToggle 148 showPasswordToggle
149 scorePassword 149 scorePassword
150 /> 150 />
151 {error.code === 'email-duplicate' && ( 151 {error.status === 401 && (
152 <p className="error-message center"> 152 <h2 className="error-message center">
153 {intl.formatMessage(messages.emailDuplicate)} 153 {intl.formatMessage(messages.emailDuplicate)}
154 </p> 154 </h2>
155 )} 155 )}
156 {isSubmitting ? ( 156 {isSubmitting ? (
157 <Button 157 <Button