Add slider captcha for web login, VitePress documentation on GitHub Pages, and fixes for gallery delete refresh, pagination jump, and copy-format persistence.
7 lines
191 B
TypeScript
7 lines
191 B
TypeScript
import { createLoginCaptchaChallenge } from '../../utils/login-captcha'
|
|
|
|
export default defineEventHandler(() => {
|
|
const { id, svg } = createLoginCaptchaChallenge()
|
|
return { id, svg }
|
|
})
|