commit a7974cb
François Kooman
·
2024-11-18 10:46:14 +0000 UTC
parent 2416945
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.
1 files changed,
+1,
-1
+1,
-1
1@@ -171,7 +171,7 @@ const char *login_page = ""
2 "<body><h1>%s OAuth identify</h1>\n"
3 "<div style=\"background-color: red; color: white\">%s</div>\n"
4 "<form method=\"post\" action=\"%s:/" "/%s/%s\">\n"
5-"<p>Login: <input type=\"text\" name=\"login\"></p>\n"
6+"<p>Login: <input type=\"text\" name=\"login\" autocapitalize=\"off\"></p>\n"
7 "<p>Password: <input type=\"password\" name=\"passwd\"></p>\n"
8 "<input type=\"hidden\" name=\"redir\" value=\"%s\">\n"
9 "<input type=\"hidden\" name=\"cid\" value=\"%s\">\n"