Website with a real-time multiplayer Pong contest with Python (Django) backend, JavaScript (Bootstrap Toolkit) frontend, and various modules for enhanced features like tournaments, blockchain integration, AI opponents, and more.
6
stars
2
forks
source link
Feature: Log out. Login improvements and bug fixes. Protection on endpoints #27
Added Log Out feature. Added the possibility of updating profile picture AND now, if the user tries to register without a profile pic, a default.png will be assigned to it. Also, added protection on endpoints so the user, for example, couldn't access home while not logged in and couldn't access log in while logged in.
Testing Done:
Tested accessing multiple api endpoints without/while being logged in.
Pull Request
Purpose of the Change:
Added Log Out feature. Added the possibility of updating profile picture AND now, if the user tries to register without a profile pic, a default.png will be assigned to it. Also, added protection on endpoints so the user, for example, couldn't access home while not logged in and couldn't access log in while logged in.
Testing Done:
Tested accessing multiple api endpoints without/while being logged in.