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

Commit 25b70703 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

Merge branch 'dev/fix-login-with-device' into 'main'

Dev/fix login with device

See merge request !187
parents dd9eff43 7e4c02ae
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();
		}
	}
})