service-captcha/app/Http
2023-07-12 23:44:53 +06:00
..
Controllers Added a new function 'errors' in Private Controller to handle service errors. This function checks if the resulted error code matches HTTP_UNPROCESSABLE_ENTITY and in that case, it redirects back with input and errors. For any other case, it aborts with the resulted error code and message. The main purpose of this change is to centralize error handling in one place and make the controller's actions cleaner. 2023-07-12 23:44:53 +06:00
Middleware A new middleware UserLocale.php has been added. This middleware sets the language locale based on each user's preference. It operates by checking if the user's preferred language is set during the request cycle and if so, it changes the app's locale accordingly. This feature facilitates personalization by displaying the app in a user's preferred language. 2023-07-10 21:44:00 +06:00
Requests Added the ability to save user settings. 2023-07-10 21:42:55 +06:00
Resources/Api/V1 Add captcha image generation functionality. 2023-06-28 17:29:56 +06:00
Kernel.php A new middleware UserLocale.php has been added. This middleware sets the language locale based on each user's preference. It operates by checking if the user's preferred language is set during the request cycle and if so, it changes the app's locale accordingly. This feature facilitates personalization by displaying the app in a user's preferred language. 2023-07-10 21:44:00 +06:00