akerr501 / akerr501/CS361-Ethical-Eating-Project

logging out

Aperta
#49 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
0
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

A user doesn't have the option of logging out once logged in. Switching users is possible by re-entering login credentials, but once logged in, a user's browser will remain logged in to the last account they logged in with. To recreate this issue, log in to a user account. The browser will remain logged in across window closes and the user doesn't have an option of logging out. This could be fixed in the main layout be adding a page load function which checks if the user is logged in and replacing the login button with a logout button which when clicked clears the user's credentials from local storage.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.