From 0ac5f6019af9d09d47dbd993a15aa92c2592a413 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Fri, 29 Sep 2023 07:27:39 +0000 Subject: [PATCH] Replace service for CLA authorize --- source/developers/cla_sign.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/developers/cla_sign.html b/source/developers/cla_sign.html index fc300f3b973a..2523ba90ee8d 100644 --- a/source/developers/cla_sign.html +++ b/source/developers/cla_sign.html @@ -437,7 +437,7 @@

Thanks!

if (codeCheck && codeCheck.length > 0) { $.ajax({ type: "POST", - url: "https://cla.home-assistant.io/github/exchange", + url: "https://service-hub-bots.home-assistant.io/cla-sign/authorize", data: JSON.stringify({"code": codeCheck}), contentType: "application/json", }).done(function(data){ @@ -446,7 +446,7 @@

Thanks!

var clean_uri = uri.substring(0, uri.indexOf("?")); window.history.replaceState({}, document.title, clean_uri); } - localStorage.setItem("gh_token", data.token); + localStorage.setItem("gh_token", data.access_token); fill_fields(); }); } else if (localStorage.getItem("gh_token") != null) {