This website requires JavaScript.
Explore
Help
Sign In
kor-elf
/
service-captcha
Watch
1
Star
0
Fork
0
You've already forked service-captcha
Code
Issues
Pull Requests
Packages
Projects
Releases
5
Wiki
Activity
ba7e52f8ac
service-captcha
/
app
/
Http
/
Controllers
History
Leonid Nikitin
ba7e52f8ac
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
..
Api
/V1
Add captcha image generation functionality.
2023-06-28 17:29:56 +06:00
Private
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
AuthController.php
Refactor error check in AuthController.
2023-07-06 22:32:29 +06:00
Controller.php
Made authorization.
2023-07-06 10:48:32 +06:00