---
# System prepended metadata

title: Login

---

# Login

## Inputs
- Picking up a country
    - It should have autocomplete on selecting
    - It should be able to navigate through the keyboard and select with Enter
    - It should be tied with the input on the phone, changing the country changes there also
- Fill up a phone
    - It should jump seamlessly from one input (country code) to another (phone), both on write and on delete
    - It should be pasteable to fill
    - It should not allow me to login when the phone is not on Learnistic
    - It should go to the password screen when I click enter while focused on it and the phone exists
- Fill up a password
    - The inputs should be seamleslly connected, when passing from one to the next while writing or deleting
    - When the 4 inputs are connected it should **do the login**
    - If it fails, it should show a warning saying it failed and clear the inputs
    - If it doesn't fail, it should move me to the Dashboard and store the token
    - When reloading, it should throw me directly into the Dashboard and not allow me to go to the login again
    