Skip to content

Commit

Permalink
update patchfile to new autologin URL
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpr03 committed Apr 24, 2022
1 parent 8d1784a commit 6b4840c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hardwhere.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
diff --git a/app/Http/Controllers/HardWhereController.php b/app/Http/Controllers/HardWhereController.php
new file mode 100644
index 000000000..b3845a2e3
index 000000000..9d3d8ea9e
--- /dev/null
+++ b/app/Http/Controllers/HardWhereController.php
@@ -0,0 +1,93 @@
Expand Down Expand Up @@ -84,7 +84,7 @@ index 000000000..b3845a2e3
+// 'api_token' => $token,
+// 'login_token' => $login_token,
+// ]);
+ $ch = curl_init('http://localhost:8000/internal/autologin');
+ $ch = curl_init('http://localhost:8000/HardWhere/internal/autologin');
+ curl_setopt($ch, CURLOPT_POST, 1);
+ curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([
+ 'api_token' => $token,
Expand Down

0 comments on commit 6b4840c

Please sign in to comment.