summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authoriwojim0 <iwo_jim0@protonmail.com>2024-03-09 14:37:54 +0000
committeriwojim0 <iwo_jim0@protonmail.com>2024-03-09 14:37:54 +0000
commit7312f4ce51100d4ed98988cb3af0ab06e4fba53c (patch)
treeb9fe2c67d8d98605d5376bbad6ffe87ef29c1990 /mastoapi.c
parent951e6b23151d298d9babeec81bc9926c11bdb3b3 (diff)
Ability to federate with hidden networks #93 (update for v2.49)
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 416f96c..d702c47 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -156,7 +156,7 @@ const char *login_page = ""
"</head>\n"
"<body><h1>%s OAuth identify</h1>\n"
"<div style=\"background-color: red; color: white\">%s</div>\n"
-"<form method=\"post\" action=\"https:/" "/%s/%s\">\n"
+"<form method=\"post\" action=\"http:/" "/%s/%s\">\n"
"<p>Login: <input type=\"text\" name=\"login\"></p>\n"
"<p>Password: <input type=\"password\" name=\"passwd\"></p>\n"
"<input type=\"hidden\" name=\"redir\" value=\"%s\">\n"