L1teD / cs2-WeaponPaints-website

Small website for Nereziel/cs2-WeaponPaints plugins
https://cs.primat.fun
GNU General Public License v3.0
29 stars 7 forks source link

Enhancements for Better Security, Localization, and Error Handling #19

Closed DEPSTRCZ closed 5 months ago

DEPSTRCZ commented 5 months ago

Introducing a set of quality-of-life improvements aimed at enhancing security, localization, and error handling within the project. The following changes have been implemented:

Enhanced Security Configuration: A new configuration option has been added to allow users to specify a session secret. This addition ensures better security practices by enabling users to manage session secrets securely.

Localization Improvement: The skin modal has been updated to utilize translations, addressing an issue where translations were missing.

Improved Error Handling: Previously, starting the application would lead to errors if the necessary database tables were missing. With this update, the application now performs a check when starting up to ensure that the required tables are present in the database before initialization.

Any Blame/Comments to improve are welcomed.