Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | protected function verificationUrl($notifiable) |
||
20 | { |
||
21 | return URL::temporarySignedRoute( |
||
22 | 'verification.verify', |
||
23 | Carbon::now()->addMinutes(Config::get('auth.verification.expire', 60)), |
||
24 | [ |
||
25 | 'id' => sha1($notifiable->getKeyForVerification()), |
||
26 | 'hash' => sha1($notifiable->getEmailForVerification()), |
||
27 | ] |
||
31 |