Skip to content

Commit d018ecd

Browse files
Fix small issue
1 parent da654d8 commit d018ecd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/modules/user/AuthBox/components/SignInForm.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ class SignInForm extends PureComponent {
137137

138138
if (err instanceof UnauthorizedException) {
139139
newState.signInErrorId = 'user.actions.sign-in.invalid-credentials';
140+
} else {
141+
newState.signInErrorId = 'common.something-went-wrong';
140142
}
141143

142-
newState.signInErrorId = 'common.something-went-wrong';
143-
144144
this.setState(newState);
145145
}
146146
});

0 commit comments

Comments
 (0)