Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKampf committed Aug 1, 2023
1 parent 225ad87 commit aaa2e7d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions nextmagentacloud21/core/js/login/consentlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ const checkIsRedirectUrl = function () {
return urlParams.has('redirect_url');
};

//Check if the page is the alternative login page
const checkIsAlternativeLogin = function () {
return document.getElementById("alternative-logins");
};

//Add event listener to the consentChanged event. When the consent is given, redirect to Telekom Login
if (checkIsLoginPage()) {
window.addEventListener("consentChanged", function () {
Expand Down

0 comments on commit aaa2e7d

Please sign in to comment.