MCPcopy Create free account
hub / github.com/PIKACHUIM/CFWorkerACME / userExit

Function userExit

src/users.ts:333–337  ·  view source on GitHub ↗
(c: Context)

Source from the content-addressed store, hash-verified

331
332// 用户退出 ###############################################################################
333export async function userExit(c: Context) {
334 local.deleteCookie(c, 'mail')
335 local.deleteCookie(c, 'auth')
336 return c.redirect("/#/login", 302);
337}
338
339// 发送验证 ###############################################################################
340export async function codeSend(c: Context, mail: string, code: string) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected