akoizumi @social.kyoko-project.wer.ee

Follow

I'm crazy but that doesn't mean I'm wrong, I'm mad but not ill

Block / Report User

If this user/feed is violating this Pod's (yarn.meff.me) community guidelines as set out in the Abuse Policy, please report them immediately!

You are also free to Unfollow or Mute this user or feed. Muting will also remove that user/feed's content from your view and you will no longer see content from that user/feed anywhere.

@akoizumi does not follow you (they may not see your replies!)

Recent Twts

Recent twts from akoizumi

I wrote this little thing

doas -u _postgresql psql --dbname=maddy --host=localhost --username=maddy "UPDATE passwords SET value = '$(maddy hash --password "$1")' WHERE key = '$2' AND value = '$(maddy hash --password "$3")'"

First argument is the new password (hashed of course), the second being the username, the third being the old (current) password. I havenā€™t yet tried this but I might now.


#e2hjhua

(#6wzkhqa) This is an updated revision (which throws the same error though):

#!/usr/local/bin/haserl --accept-all
Content-Type: text/html

<html>
<head>
<link rel="stylesheet" href="https://cdn.kyoko-project.wer.ee/@mirage/mirageCSS/dark.css">
<title>KyokoMail: Change account password</title>
</head>
<body>              
<h1>Change account password for KyokoMail</h1>
<p>Warning: to use this form you <b>must</b> have an account on this service, otherwise, get out.</p>
<form action="<% /usr/local/maddy/maddy creds password --password %>" method="GET">
<p>
Username:
<input type="text" name="username" cols="20" placeholder="username@kyoko-project.wer.ee" required="required"/>
</p>
<p>
New password:
<input type="password" name="new_password" cols="20" required="required"/>
</p>
<input type="submit" value="Go" />
</form>
</body>
</html>

Looks like I canā€™t make use of haserl for these kind of things


#iakzzda

(#6wzkhqa) #!/usr/local/bin/haserl --accept-all Content-Type: text/html <html> <head> <link rel="stylesheet" href="https://cdn.kyoko-project.wer.ee/@mirage/mirageCSS/dark.css"> <title>KyokoMail: Change account password</title> </head> <body> <h1>Change account password for KyokoMail</h1> <p>Warning: to use this form you <b>must</b> have an account on this service, otherwise, get out.</p> <form action="<% /usr/local/bin/maddy creds password --password $FORM_new_password_again $FORM_username %>" method="GET"> <p> Username: <input type="text" name="username" cols="20" placeholder="username@kyoko-project.wer.ee" required="required"/> </p> <p> Current password: <input type="password" name="old_password" cols="20" required="required"/> </p> <p> New password: <input type="password" name="new_password" cols="20" required="required"/> </p> <p> New password (repeat): <input type="password" name="new_password_again" cols="20" required="required"/> </p> <input type="submit" value="Go" /> </form> </body> </html>


#kd5rwaq