summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authorGravatar François Kooman2024-11-18 11:46:14 +0100
committerGravatar François Kooman2024-11-18 11:46:14 +0100
commita7974cbaa7037292c8883271fc2d0983698882a6 (patch)
tree546e176d0fcd6014033aa35ae00f9a3e8dbe16df /mastoapi.c
parentIn the insert cmdline op, don't re-add if it's already in the timeline. (diff)
downloadpenes-snac2-a7974cbaa7037292c8883271fc2d0983698882a6.tar.gz
penes-snac2-a7974cbaa7037292c8883271fc2d0983698882a6.tar.xz
penes-snac2-a7974cbaa7037292c8883271fc2d0983698882a6.zip
do not autocapitalize "Login: " masto api field
on Chrome/Safari the Mastodon API OAuth login page auto capitalizes the first char of the "Login: " field. This disabled that.
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index c9d71b9..076f8aa 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -171,7 +171,7 @@ const char *login_page = ""
171"<body><h1>%s OAuth identify</h1>\n" 171"<body><h1>%s OAuth identify</h1>\n"
172"<div style=\"background-color: red; color: white\">%s</div>\n" 172"<div style=\"background-color: red; color: white\">%s</div>\n"
173"<form method=\"post\" action=\"%s:/" "/%s/%s\">\n" 173"<form method=\"post\" action=\"%s:/" "/%s/%s\">\n"
174"<p>Login: <input type=\"text\" name=\"login\"></p>\n" 174"<p>Login: <input type=\"text\" name=\"login\" autocapitalize=\"off\"></p>\n"
175"<p>Password: <input type=\"password\" name=\"passwd\"></p>\n" 175"<p>Password: <input type=\"password\" name=\"passwd\"></p>\n"
176"<input type=\"hidden\" name=\"redir\" value=\"%s\">\n" 176"<input type=\"hidden\" name=\"redir\" value=\"%s\">\n"
177"<input type=\"hidden\" name=\"cid\" value=\"%s\">\n" 177"<input type=\"hidden\" name=\"cid\" value=\"%s\">\n"