Skip to content

Commit ee2bc1f

Browse files
committed
http: remove deprecated re_auth api
1 parent d58b498 commit ee2bc1f

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/http.c

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -227,25 +227,6 @@ static void http_req_handler(struct http_conn *conn,
227227
return;
228228
}
229229

230-
ROUTE("/api/v1/client/reauth", "POST")
231-
{
232-
err = slmix_session_auth(mix, sess, msg);
233-
if (err == EAUTH)
234-
goto auth;
235-
236-
if (err)
237-
goto err;
238-
239-
/* generate new session - ensures rooms load new session */
240-
rand_str(sess->id, sizeof(sess->id));
241-
242-
slmix_session_user_updated(sess);
243-
slmix_session_save(sess);
244-
245-
http_sreply(conn, 204, "OK", "text/html", "", 0, sess);
246-
return;
247-
}
248-
249230
ROUTE("/api/v1/client/name", "POST")
250231
{
251232
struct pl name = PL_INIT;

0 commit comments

Comments
 (0)