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:28:15 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
04441fe94ebe1138372860d3d3e8295d8b840e24
04441fe9
2 parents
5aaba4f2
60e1b492
Merge branch 'server' into web
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server/src/api/auth/auth.ctrl.js
server/src/api/auth/auth.ctrl.js
View file @
04441fe
...
...
@@ -155,7 +155,7 @@ exports.login = async(ctx) => {
const
user
=
await
User
.
findByUserId
(
userId
);
if
(
!
user
||
!
user
.
userTypeCd
)
{
ctx
.
sta
ut
s
=
401
;
ctx
.
sta
tu
s
=
401
;
ctx
.
body
=
{
error
:
'존재하지 않는 회원입니다.'
,
};
...
...
Please
register
or
login
to post a comment