removing some :444

This commit is contained in:
Janis Steiner
2025-01-01 17:27:06 +01:00
parent a216638d48
commit c5fc190ad6
3 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ To integrate Jakach Login into your application:
4. **Add login button:** 4. **Add login button:**
In your app/login page add a button like: In your app/login page add a button like:
```html ```html
<a href="https://auth.jakach.ch:444/?send_to=<your url/place of your oauth file>" class="btn btn-secondary">Log in using Jakach login</a> <a href="https://auth.jakach.ch/?send_to=<your url/place of your oauth file>" class="btn btn-secondary">Log in using Jakach login</a>
``` ```
--- ---

View File

@@ -22,7 +22,7 @@ $ip=$_SERVER["REMOTE_ADDR"];
$location=get_location_from_ip($ip); $location=get_location_from_ip($ip);
$date=date('Y-m-d H:i:s'); $date=date('Y-m-d H:i:s');
$token=bin2hex(random_bytes(128)); $token=bin2hex(random_bytes(128));
$link="https://auth.jakach.ch:444/login/reset_pw.php?token=$token"; $link="https://auth.jakach.ch/login/reset_pw.php?token=$token";
$message = "*Password reset token*\n\n" $message = "*Password reset token*\n\n"
. "You have requested the reset of your password here is your reset link.\n\n" . "You have requested the reset of your password here is your reset link.\n\n"

View File

@@ -6,7 +6,7 @@ This file can be installed in any service. If done so a user can authenticate wi
$auth_token = $_GET["auth"]; $auth_token = $_GET["auth"];
// Check the auth token against Jakach login API // Check the auth token against Jakach login API
$check_url = "https://auth.jakach.ch:444/api/auth/check_auth_key.php?auth_token=" . $auth_token; $check_url = "https://auth.jakach.ch/api/auth/check_auth_key.php?auth_token=" . $auth_token;
// Initialize cURL // Initialize cURL
$ch = curl_init(); $ch = curl_init();