mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
Added verify page without api or styling
This commit is contained in:
parent
b7cda266b3
commit
7012654729
3 changed files with 31 additions and 0 deletions
|
@ -123,6 +123,8 @@ class Controller
|
|||
$router->any('/youtube/sub', 'AcquisitionActions::executeYouTubeSub');
|
||||
$router->any('/youtube/{campaignId:c}?', 'AcquisitionActions::executeYouTube');
|
||||
$router->any('/yt2', 'AcquisitionActions::executeYT2');
|
||||
$router->get('/verify/{token}', 'AcquisitionActions::executeVerify');
|
||||
|
||||
|
||||
$router->post('/set-culture', 'i18nActions::setCulture');
|
||||
|
||||
|
|
|
@ -45,5 +45,10 @@ class AcquisitionActions extends Actions
|
|||
return ['acquisition/yt2', ['_no_layout' => true]];
|
||||
}
|
||||
|
||||
public static function executeVerify(string $token = '')
|
||||
{
|
||||
return ['acquisition/verify', ['token' => $token]];
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
24
view/template/acquisition/verify.php
Normal file
24
view/template/acquisition/verify.php
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||||
<title>Verify Your Identity</title>
|
||||
<link href="/css/yt2.css" rel="stylesheet" type="text/css" />
|
||||
<link rel="icon" href="images/favicon.ico">
|
||||
<script src='https://www.google.com/recaptcha/api.js'></script>
|
||||
<script type="text/javascript">
|
||||
var verifyCallback = function(response) {
|
||||
alert(response);
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Almost Done!</h1>
|
||||
<p> Click the captcha to continue...</p>
|
||||
<!--<p><?php echo $token ?></p>-->
|
||||
<!--"6LcG_z0UAAAAAKBPDBhiJU_jI9cRNRiJwcUHq95u"-->
|
||||
<div class="g-recaptcha" data-sitekey="6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI" data-callback="verifyCallback"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Reference in a new issue