A login system written in PHP.
Use cases and requirements: https://github.com/dntoll/1dv610/blob/master/assignments/A2_resources/UseCases.md
In addition to the use cases referenced above, some additional use cases have been made.
- Starts when a user wants to see a list of usernames
- System authenticated the user (UC1, UC3)
- User is presented with a list of usernames
- 2a. System could not authenticate user
- System presents an empty list of usernames
- Step 2 in UC1
- clone https://github.com/sios13/1DV610-L2.git
- install sqlite3 https://www.sqlite.org/
- create a SQLite database called 'db.db' with command: sqlite3 db.db
- create a table of users using the following command: CREATE TABLE users(name, password, cookie_password, cookie_timer);
- put the 'db.db' file one level outside the root project folder
- visit index.php and it should work!