Mercurial Hosting > luan
changeset 1990:f34f0a2447a5
add change_password.luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 30 Jun 2025 22:52:19 -0600 |
parents | 14c7fb7e3c03 |
children | 53793a4dbd15 |
files | src/luan/modules/host/change_password.luan |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/luan/modules/host/change_password.luan Mon Jun 30 22:52:19 2025 -0600 @@ -0,0 +1,12 @@ +local Io = require "luan:Io.luan" +local print = Io.print +local Hosting = require "luan:host/Hosting.luan" + +if #{...} ~= 3 then + Io.stderr.write "usage: luan luan:host/change_password.luan domain old_password new_password\n" + return +end + +Hosting.change_password(...) + +print("done with "..(...))