From c5fc190ad61ac69f6f41d7732b42fe534399c784 Mon Sep 17 00:00:00 2001 From: Janis Steiner Date: Wed, 1 Jan 2025 17:27:06 +0100 Subject: [PATCH] removing some :444 --- README.md | 2 +- app-code/api/login/send_reset_link.php | 2 +- app-code/plugins/auth.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ebcaa22..0ee11f7 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ To integrate Jakach Login into your application: 4. **Add login button:** In your app/login page add a button like: ```html - Log in using Jakach login + Log in using Jakach login ``` --- diff --git a/app-code/api/login/send_reset_link.php b/app-code/api/login/send_reset_link.php index c62c8f1..0be3a53 100644 --- a/app-code/api/login/send_reset_link.php +++ b/app-code/api/login/send_reset_link.php @@ -22,7 +22,7 @@ $ip=$_SERVER["REMOTE_ADDR"]; $location=get_location_from_ip($ip); $date=date('Y-m-d H:i:s'); $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" . "You have requested the reset of your password here is your reset link.\n\n" diff --git a/app-code/plugins/auth.php b/app-code/plugins/auth.php index 4ff380a..2f22009 100644 --- a/app-code/plugins/auth.php +++ b/app-code/plugins/auth.php @@ -6,7 +6,7 @@ This file can be installed in any service. If done so a user can authenticate wi $auth_token = $_GET["auth"]; // 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 $ch = curl_init();