Ignore:
Timestamp:
03/05/24 14:27:53 (15 months ago)
Author:
Aleksandar Panovski <apano77@…>
Branches:
main
Children:
8ca35dc
Parents:
5a9c93b
Message:

Authorization layer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • my-react-app/src/components/AppContent.js

    r5a9c93b rdb39d9e  
    2727            "POST",
    2828            "/api/login",
    29             {login: email, password: password}
     29            {email: email, password: password}
    3030        ).then((response) => {
    3131            this.setState({componentToShow: "restaurants"})
     
    4444                firstName: firstName,
    4545                lastName: lastName,
    46                 login: email,
     46                email: email,
    4747                password: password
    4848            }
Note: See TracChangeset for help on using the changeset viewer.