squash! Add automatic delete messages and reformat message

This commit is contained in:
localhost_frssoft 2023-10-02 19:05:09 +03:00
parent 9a79e6d7cf
commit 64f1f0c47c

View file

@ -3,7 +3,7 @@ local server_name = minetest.settings:get("server_name") or ""
local automatic_delete = minetest.settings:get_bool("fediauth.automatic_delete") local automatic_delete = minetest.settings:get_bool("fediauth.automatic_delete")
function fediauth.send_code(code, account_handle) function fediauth.send_code(code, account_handle)
expires_in = nil local expires_in = nil
if automatic_delete then if automatic_delete then
expires_in = 3600 expires_in = 3600
end end