11 Commits

Author SHA1 Message Date
Vari
9eee06dc2e Added Check to game steam login to verify if the user needs to have a special role to play the game.
the role/s can be set in the .env with `ROLES_ALLOWED_TO_PLAY=`
2024-09-02 00:12:22 +02:00
Vari
c188c79001 Fixed last_known_username not being saved when logging in via game. 2024-03-24 02:33:27 +01:00
Vari
cd9d96d421 Added new logic to fill the avatar urls on login. 2024-03-16 04:00:37 +01:00
Vari
b9de1db675 Fixed User database fields not being filled while being created due to not being in the $fillable array.
also added getting the username while logging in via game.
2024-02-18 05:12:27 +01:00
Vari
0249470687 Added new GetPlayerSummaries endpoint for the steam api client.
Now saving the last known username when a player logs in.

Moved Access logger after auth middleware to acces the auth user.
2024-02-16 23:46:35 +01:00
Vari
90a233e7f2 Completed steam web login, forget i only had a dd() there.
Fixed auth implementation in user model.
2024-02-14 22:38:21 +01:00
Vari
154105a374 Added Ban Status endpoint and created a ban table to ban users. 2024-02-13 02:32:24 +01:00
Vari
24f4a87779 Finished consent endpoint.
Also modified some log levels to make more sense.
2024-02-13 00:55:46 +01:00
Vari
7931766a35 Added User Authentication with the bhvr session cookie.
also moved deathgarden api endpoints into own files.
2024-02-11 23:51:30 +01:00
Vari
5c71634a37 Added first try for logging. 2024-02-11 21:22:45 +01:00
Vari
fdb3bb62ed Moved folder 2024-02-11 20:05:35 +01:00