Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
travel
Commits
da88857d
Commit
da88857d
authored
2 years ago
by
Yoon, Daeki
Browse files
Options
Download
Email Patches
Plain Diff
로그인 할 때 로컬저장소에 역할 추가
parent
1574f869
main
MK28
MK29
sb0815
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/src/auth/auth.helper.ts
+1
-1
frontend/src/auth/auth.helper.ts
with
1 addition
and
1 deletion
+1
-1
frontend/src/auth/auth.helper.ts
View file @
da88857d
...
...
@@ -18,6 +18,7 @@ export const handleLogin = async (email: string, password: string) => {
LOCAL_USER_INFO
,
JSON
.
stringify
({
isLoggedIn
:
user
.
isLoggedIn
,
role
:
user
.
role
,
})
);
return
user
;
...
...
@@ -58,4 +59,3 @@ export const getLocalUser = () => {
}
return
user
;
};
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help