akerr501 / akerr501/CS361-Ethical-Eating-Project

logging out

Offen
#49 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
0
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.