Mercurial Hosting > linkmystyle
view src/delete_user.js.luan @ 0:8f4df159f06b
start public repo
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 11 Jul 2025 20:57:49 -0600 |
parents | |
children |
line wrap: on
line source
local Luan = require "luan:Luan.luan" local error = Luan.error local Io = require "luan:Io.luan" local Http = require "luan:http/Http.luan" local User = require "site:/lib/User.luan" return function() local user = User.current() if user ~= nil then user.delete() end Io.stdout = Http.response.text_writer() %> location = '/'; <% end