mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
16 lines
291 B
PHP
16 lines
291 B
PHP
|
<?php
|
||
|
|
||
|
namespace App;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class EmailVerification extends Model
|
||
|
{
|
||
|
public function url()
|
||
|
{
|
||
|
$base = config('app.url');
|
||
|
$path = '/i/confirm-email/' . $this->user_token . '/' . $this->random_token;
|
||
|
return "{$base}{$path}";
|
||
|
}
|
||
|
}
|