mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
invite fix
This commit is contained in:
parent
39461c614a
commit
9483a3a2bf
2 changed files with 2 additions and 5 deletions
|
@ -155,10 +155,6 @@ class DownloadActions extends Actions
|
|||
{
|
||||
if (!static::findInPrefinery($email))
|
||||
{
|
||||
if ($inviteCode)
|
||||
{
|
||||
throw new Exception('really???');
|
||||
}
|
||||
$userData = Prefinery::createTester(array_filter([
|
||||
'email' => $email,
|
||||
'status' => $inviteCode ? 'invited' : 'applied',
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
<?php echo $downloadHtml ?>
|
||||
<h4>Claim Credits</h4>
|
||||
<?php if ($prefineryUser): ?>
|
||||
<p>Use email <strong><?php echo $prefineryUser['email'] ?></strong> and code <strong><?php echo $prefineryUser['invitation_code'] ?></strong> after download to receive your credits.</p>
|
||||
<p>Use email <strong><?php echo $prefineryUser['email'] ?></strong> and code you received via email after download to receive your credits.</p>
|
||||
<div class="meta">If you received a printed code and it does not work after you download, check your email for a different code.</div>
|
||||
<?php endif ?>
|
||||
<?php else: ?>
|
||||
<?php echo View::render('download/_unavailable', [
|
||||
|
|
Loading…
Add table
Reference in a new issue