|
@@ -710,6 +710,7 @@ The database authentication middleware defines three new routes:
|
710
|
710
|
|
711
|
711
|
method path - parameters - description
|
712
|
712
|
---------------------------------------------------------------------------------------------------
|
|
713
|
+ POST /register - username + password - adds a user with given username and password
|
713
|
714
|
POST /login - username + password - logs a user in by username and password
|
714
|
715
|
POST /logout - - logs out the currently logged in user
|
715
|
716
|
GET /me - - returns the user as which you're currently logged in
|