mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-25 16:53:37 +00:00
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.
This commit is contained in:
parent
2416945748
commit
a7974cbaa7
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ const char *login_page = ""
|
|||
"<body><h1>%s OAuth identify</h1>\n"
|
||||
"<div style=\"background-color: red; color: white\">%s</div>\n"
|
||||
"<form method=\"post\" action=\"%s:/" "/%s/%s\">\n"
|
||||
"<p>Login: <input type=\"text\" name=\"login\"></p>\n"
|
||||
"<p>Login: <input type=\"text\" name=\"login\" autocapitalize=\"off\"></p>\n"
|
||||
"<p>Password: <input type=\"password\" name=\"passwd\"></p>\n"
|
||||
"<input type=\"hidden\" name=\"redir\" value=\"%s\">\n"
|
||||
"<input type=\"hidden\" name=\"cid\" value=\"%s\">\n"
|
||||
|
|
Loading…
Reference in a new issue