local Luan = require "luan:Luan.luan" local error = Luan.error local Parsers = require "luan:Parsers.luan" local json_string = Parsers.json_string or error() local Html = require "luan:Html.luan" local html_encode = Html.encode or error() local url_encode = Html.url_encode or error() local Io = require "luan:Io.luan" local Http = require "luan:http/Http.luan" local Shared = require "site:/lib/Shared.luan" local head = Shared.head or error() local header = Shared.header or error() local Utils = require "site:/lib/Utils.luan" local base_url = Utils.base_url or error() local User = require "site:/lib/User.luan" local current_user = User.current_required or error() return function() local user = current_user() if user == nil then return end Io.stdout = Http.response.text_writer() %> <% head() %> <% header() %>

Your Account

Your username is Edit

Edit

Edit

Your chat URL

Re-Login Page

Logout

Delete account

 

About Luan Chat

Edit Username



Edit Notification



Leave blank for no notifications. Use Pushover for app notification.


Edit Voice URL



Leave blank for no voice URL. We recommend Whereby.

Delete Account

Are you sure that you want to delete your account?

Your chat URL

<%= base_url() %>/chat?with=<%=url_encode(user.email)%>

Use this URL to link to your chat so that other people can chat with you by clicking on the link.

<% end