mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2025-07-06 04:14:06 +08:00
Clean up login since state no longer tracks tokens
This commit is contained in:
parent
a027115836
commit
c4f241f799
2 changed files with 2 additions and 12 deletions
|
@ -80,12 +80,6 @@ export default function Login() {
|
|||
}).then((result) => {
|
||||
if (result[0]) {
|
||||
setUser({ ...user, username: "", password: "", error: "" });
|
||||
/*console.log(
|
||||
"Access Token:",
|
||||
result[1],
|
||||
"\nRefresh Token:",
|
||||
result[2]
|
||||
);*/
|
||||
navigation.navigate("Onboarding");
|
||||
} else {
|
||||
setUser({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue