mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-09-03 12:30:09 +00:00
parent
1f76cd22b3
commit
063913abf9
1 changed files with 5 additions and 18 deletions
|
@ -16,7 +16,6 @@
|
|||
}));
|
||||
magicLink = "lbry://?verify=" + payload;
|
||||
document.getElementById("magic-link-text").textContent = payload;
|
||||
document.getElementById("magic-link-text-windows").value = payload;
|
||||
document.getElementById("success").style.display = "block";
|
||||
document.getElementById("captcha-block").style.display = "none";
|
||||
};
|
||||
|
@ -36,24 +35,12 @@
|
|||
<div class="g-recaptcha" data-sitekey="6LcG_z0UAAAAAKBPDBhiJU_jI9cRNRiJwcUHq95u" data-callback="verifyCallback" data-expired-callback="expiredCallback"></div>
|
||||
</div>
|
||||
<div style=" display: none; margin-top: 10px;" id="success">
|
||||
<div id="non-windows">
|
||||
<p>Now click the magic link below to verify your identity in app...</p>
|
||||
<br/>
|
||||
<a class="btn-primary btn-large spacer1" onclick="location.href=magicLink">Magic Link</a>
|
||||
<p><i>Does the magic link not work? Not on the same device as the app? Paste this text into the verification screen instead.</i></p>
|
||||
<code class="multiline-code" id="magic-link-text"></code>
|
||||
</div>
|
||||
<div style="display: none;" id="windows">
|
||||
<p>Paste this (very long) piece of text into the verification screen in the app to confirm your identity.</p>
|
||||
<textarea style="width: 100%; height: 300px;" id="magic-link-text-windows" readonly></textarea>
|
||||
</div>
|
||||
<p>Now click the magic link below to verify your identity in app...</p>
|
||||
<br/>
|
||||
<a class="btn-primary btn-large spacer1" onclick="location.href=magicLink">Magic Link</a>
|
||||
<p><i>Does the magic link not work? Not on the same device as the app? Paste this (very long) piece of text into the verification screen of the app to confirm your identity.</i></p>
|
||||
<code class="multiline-code" id="magic-link-text"></code>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
if (navigator.appVersion.indexOf("Win")!==-1) {
|
||||
document.getElementById("non-windows").style.display = "none";
|
||||
document.getElementById("windows").style.display = "block";
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Reference in a new issue