Optimize register api. Add verify Turnstile captcha to login api.

This commit is contained in:
2023-12-29 17:55:44 +08:00
parent 94512ccd2b
commit 22055faca4
15 changed files with 189 additions and 8 deletions

View File

@@ -0,0 +1,10 @@
package top.fatweb.oxygen.api.exception
/**
* Invalid captcha code exception
*
* @author FatttSnake, fatttsnake@gmail.com
* @since 1.0.0
* @see RuntimeException
*/
class InvalidCaptchaCodeException : RuntimeException("Invalid captcha code")