Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c0315d0

Browse files
Improve error msg on login fail.
1 parent ef8ee50 commit c0315d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/reducers/login_user.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def login_user_reducer(state=initial_state, action=None):
2929
elif type_ in (REGISTER_USER_REJECTED, LOGIN_USER_REJECTED):
3030
response = action.payload["response"] or None
3131
data = response["data"] if response and response["data"] else None
32-
msg = data["message"] if data and data["message"] else "Unknown Error."
32+
msg = data["message"] if data and data["message"] else "Login Error. Please try again."
3333
return Object.assign({}, state, {
3434
"loading": False,
3535
"error": msg

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /