Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc1e97b7 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN Committed by AVINASH GUSAIN
Browse files

Dev/fix login with device

parent 6e2fae53
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -25,5 +25,12 @@ document.addEventListener('DOMContentLoaded', function() {
		  elementLostPassword.click();
		}
	}
	if (window.location.href.includes("?showLoginWithDevice=1")) {
		var lostPasswordLink = document.getElementById("lost-password");
		if (lostPasswordLink && lostPasswordLink.nextElementSibling) {
			var loginWithDeviceLink = lostPasswordLink.nextElementSibling;
			loginWithDeviceLink.click();
		}
	}
})