mirror of
https://git.checksum.fail/alec/slon.git
synced 2025-12-08 12:09:55 +02:00
Everywhere: Use session->path()
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
if (!StrICmp("/oauth/authorize", @slon_http_request_path(session))) {
|
||||
if (!StrICmp("/oauth/authorize", session->path())) {
|
||||
@slon_http_send_html_file(session, "M:/Slon/Static/oauth/authorize.html");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!StrICmp("/oauth/verify_access", @slon_http_request_path(session))) {
|
||||
if (!StrICmp("/oauth/verify_access", session->path())) {
|
||||
@slon_oauth_verify_access_get(session);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user