1 changed files with 6 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||||
|
import { generateCaptcha } from '../../utils/auth/captcha' |
||||
|
|
||||
|
export default defineWrappedResponseHandler(async () => { |
||||
|
const { token, svg } = generateCaptcha() |
||||
|
return R.success({ token, svg }) |
||||
|
}) |
||||
Loading…
Reference in new issue