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