Closed marineks closed 1 year ago
Resolves #33 , #23
The user flows goes like this:
Login
Login Page
LogIn
Login w/ 42
SignUp
nickname already in use
password mismatch
nickname not existing in db
Avatar+ log out
2FAEnabled
REACT_APP_
isLoggedIn
useContext
Resolves #33 , #23
Features
The user flows goes like this:
Login
button by default when not connectedLogin Page
(LogIn
,Login w/ 42
,SignUp
)nickname already in use
(sign up),password mismatch
andnickname not existing in db
(log in)Login
button becomes aAvatar+ log out
button immediatly, with a green dot to show they're connectedOther
2FAEnabled
. An email address is required.REACT_APP_
to work!!!isLoggedIn
state is managed through React'suseContext
(in App.tsx)