diff options
| author | 2024-11-18 11:46:14 +0100 | |
|---|---|---|
| committer | 2024-11-18 11:46:14 +0100 | |
| commit | a7974cbaa7037292c8883271fc2d0983698882a6 (patch) | |
| tree | 546e176d0fcd6014033aa35ae00f9a3e8dbe16df /mastoapi.c | |
| parent | In the insert cmdline op, don't re-add if it's already in the timeline. (diff) | |
| download | snac2-a7974cbaa7037292c8883271fc2d0983698882a6.tar.gz snac2-a7974cbaa7037292c8883271fc2d0983698882a6.tar.xz 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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" |