working login for students and logout

This commit is contained in:
JBB0807 2025-05-02 15:07:05 -07:00
parent 9c07472aca
commit 28dd929927
2 changed files with 32 additions and 14 deletions

View file

@ -19,9 +19,9 @@ function SignUpForm() {
const handleOnSubmit = (evt) => {
evt.preventDefault();
const { name, email, password } = state;
const { assignmentID, password } = state;
alert(
`You are signed in with name: ${name} email: ${email} and password: ${password}`
`You are signed in with assignmentID: ${assignmentID} and password: ${password}`
);
for (const key in state) {