update: change auth mechanism to be unified for all sites

This commit is contained in:
MTG2000
2022-06-15 17:58:12 +03:00
parent f5eee8691e
commit cc566df768
4 changed files with 23 additions and 24 deletions

View File

@@ -57,7 +57,7 @@ function removeExpiredHashes() {
}
async function generateAuthUrl() {
const hostname = CONSTS.LNURL_AUTH_HOST;
const hostname = 'https://auth.bolt.fun/.netlify/functions/login';
const secret = await generateK1();
const hash = createHash(secret);
await addHash(hash)