Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
RIT_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박권수
2021-08-21 18:27:28 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5aaba4f2cf574d772371f753e83774d08758f9b8
5aaba4f2
1 parent
d2e48e9a
style. error message
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
web/src/views/login/LoginContainer.tsx
web/src/views/register/RegisterContainer.tsx
web/src/views/login/LoginContainer.tsx
View file @
5aaba4f
...
...
@@ -64,7 +64,7 @@ const LoginContainer = (props : LoginProps) => {
Alert.onError('권한이 없는 유저입니다.', () => props.history.push('/'));
}
} catch(e) {
Alert.onError(e.response.data, () => null);
Alert.onError(e.response.data
.error
, () => null);
}
};
...
...
web/src/views/register/RegisterContainer.tsx
View file @
5aaba4f
...
...
@@ -193,7 +193,7 @@ const RegisterContainer = (props : RegisterProps) => {
Alert.onSuccess('회원가입 성공, 관리자의 승인을 대기하세요.', () => props.history.push('/login'));
}
} catch(e) {
Alert.onError(e.response.data, () => null);
Alert.onError(e.response.data
.error
, () => null);
}
};
...
...
Please
register
or
login
to post a comment