mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update AccountController
This commit is contained in:
parent
82a84a733b
commit
0e892bb3fd
1 changed files with 4 additions and 1 deletions
|
@ -75,7 +75,10 @@ class AccountController extends Controller
|
|||
|
||||
public function verifyEmail(Request $request)
|
||||
{
|
||||
return view('account.verify_email');
|
||||
$recentSent = EmailVerification::whereUserId(Auth::id())
|
||||
->whereDate('created_at', '>', now()->subHours(12))->count();
|
||||
|
||||
return view('account.verify_email', compact('recentSent'));
|
||||
}
|
||||
|
||||
public function sendVerifyEmail(Request $request)
|
||||
|
|
Loading…
Reference in a new issue