spec add login logout and signup

This commit is contained in:
Tina_Azure
2023-04-22 22:56:28 +02:00
parent d461c6561e
commit 78e1544321

View File

@ -146,9 +146,12 @@ Acceptance will change the $accepted value for $requestID to false. Declining wi
There are times that a freelancer may wish to send a custom invoice to a customer, such as after making a quote for a custom commission. Freelancers should be able to fill out a simple form to create a custom invoice on behalf of a user. The back-end of these invoices should be identical to ones created by requests. Invoices created by freelancers should have $accepted set to true automatically upon creation.
### "/freelancer/login"
### "/freelancer/logout"
TODO: Figure out what to do for this.
+++ "/freelancer/login"
email + password
+++ "/freelancer/logout"
clears secure cookie and removes session from DB
+++ "/freelancer/signup"
creates user using a name, email and password while creating a salted hash of the password
### "/freelancer/profile"
Profile page collating freelancer pages.