Changeset ace7865 for components/LoginScreen.jsx
- Timestamp:
- 06/25/22 11:30:19 (2 years ago)
- Branches:
- main
- Children:
- b13f93b
- Parents:
- 9bd09b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
components/LoginScreen.jsx
r9bd09b0 race7865 77 77 axios.post(`/api/postgre`, { 78 78 action: 'login', 79 username: 'drama',80 password: 'drama'81 //username: styleState.style.loginScreenInfo.username,82 //password: styleState.style.loginScreenInfo.password,79 // username: 'drama', 80 // password: 'drama' 81 username: styleState.style.loginScreenInfo.username, 82 password: styleState.style.loginScreenInfo.password, 83 83 }) 84 84 .then(res => { 85 85 if (res.data?.success) { 86 86 localStorage.CAESSINO_SESSION_ID = res.data?.session?.id; 87 dispatch(setStyle({88 ...styleState.style,89 displayLoginScreen: false,90 }));91 87 92 88 dispatch(setPlayer({ … … 111 107 status: 'success', 112 108 }, 109 inlineAlertText: '', 113 110 })); 114 111 }
Note:
See TracChangeset
for help on using the changeset viewer.