diff --git a/README.md b/README.md index 1059003..ebcaa22 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **The new (future) open-source login system for Jakach** -Jakach Login offers an easy and secure way to access all Jakach services, including **jakach.duckdns.org**, **app.ksw3d.ch**, and more. It simplifies the login process by enabling users to log in with passwords, passkeys, and two-factor authentication (2FA) for enhanced security. +Jakach Login offers an easy and secure way to access all Jakach services, including **jakach.ch**, **app.ksw3d.ch**, and more. It simplifies the login process by enabling users to log in with passwords, passkeys, and two-factor authentication (2FA) for enhanced security. Jakach Login operates on its own authentication server. Any app utilizing Jakach Login must be able to communicate with this server via API requests. @@ -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 d543fdf..c62c8f1 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://jakach-auth.duckdns.org:444/login/reset_pw.php?token=$token"; +$link="https://auth.jakach.ch:444/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 0f2e739..4ff380a 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://jakach-auth.duckdns.org:444/api/auth/check_auth_key.php?auth_token=" . $auth_token; +$check_url = "https://auth.jakach.ch:444/api/auth/check_auth_key.php?auth_token=" . $auth_token; // Initialize cURL $ch = curl_init();