asdsad
All checks were successful
Deploy / deploy-staging (push) Successful in 52s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-10 22:44:28 +02:00
parent a8f4a4b36a
commit cd5525ff2e
20 changed files with 1951 additions and 351 deletions

View File

@@ -0,0 +1,22 @@
(function () {
const registerLink = document.getElementById('kb-register-button');
if (!registerLink) {
return;
}
const params = new URLSearchParams(window.location.search);
const redirectUri = params.get('redirect_uri');
if (!redirectUri) {
return;
}
try {
const target = new URL(redirectUri);
registerLink.href = target.origin + '/auth/register';
registerLink.hidden = false;
} catch (error) {
console.warn('Registrierungslink konnte nicht vorbereitet werden.', error);
}
}());