Commit 4dc08a56 authored by Jack Stupple's avatar Jack Stupple


parent 8d5dcb84
......@@ -13,7 +13,7 @@ The player is authenticated using a session ID passed in the headers. To get the
Most of the system works around getting the current user and returns appropriate information for that user. So most controllers get the player and return results related to their character, or language etc. Authentication is handled in the Authentication middleware which just gets the player and if the player returns null then they are not authenticated.
> This is more intended to be an identifier than security. I have a middleware that prevents unauthorised use of
> This is more intended to be an identifier than security. The system does not store user data apart from a user-agent to better understand their device
## Migrations
The API uses migrations to manage the database setup. This system allows us to upgrade the server and data within the server easily and reliably. **You shouldn't change an existing migration, instead you should add a new one**, using this command `php artisan make:migration NAME_OF_MIGRATION`.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment