Skip to content

Commit cb08072

Browse files
authored
Update account.html
1 parent a5e9da1 commit cb08072

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/account.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
function registerScratchAuth() {
143143
const messageBox = document.getElementById("scratchMessage");
144144
const redirectLocation = encodeURIComponent(window.location.href);
145-
const authUrl = `https://auth.itinerary.eu.org/auth?redirect=${redirectLocation}&name=Scratch%20Coding%20Hut&sign_in_method=cloud`;
145+
const authUrl = `https://scratchauth-codinghut.onrender.com`;
146146

147147
messageBox.style.color = "green";
148148
messageBox.textContent = "Redirecting to ScratchAuth... Follow the steps there.";
@@ -204,7 +204,7 @@ <h2>For You</h2>
204204
<div id="authSection" class="content">
205205
<div class="container">
206206
<h2>Welcome! Please log in to continue.</h2>
207-
<button onclick="registerScratchAuth()">Sign In With ScratchAuth</button>
207+
<button onclick="registerScratchAuth()">Sign In With ScratchAuth (working)</button>
208208
<p id="scratchMessage" class="message" aria-live="polite"></p>
209209
<p>Please note: You will be redirected to an external site (ScratchAuth) for authentication.</p>
210210
</div>

0 commit comments

Comments
 (0)