|
@@ 21-28 (lines=8) @@
|
| 18 |
|
* |
| 19 |
|
* @return string |
| 20 |
|
*/ |
| 21 |
|
public function redirectAfterConfirmationPath() |
| 22 |
|
{ |
| 23 |
|
if (method_exists($this, 'redirectConfirmationTo')) { |
| 24 |
|
return $this->redirectConfirmationTo(); |
| 25 |
|
} |
| 26 |
|
|
| 27 |
|
return property_exists($this, 'redirectConfirmationTo') ? $this->redirectConfirmationTo : route('login'); |
| 28 |
|
} |
| 29 |
|
|
| 30 |
|
/** |
| 31 |
|
* Get redirect path after a registration that still needs to be confirmed. |
|
@@ 35-42 (lines=8) @@
|
| 32 |
|
* |
| 33 |
|
* @return string |
| 34 |
|
*/ |
| 35 |
|
public function redirectAfterRegistrationPath() |
| 36 |
|
{ |
| 37 |
|
if (method_exists($this, 'redirectAfterRegistrationTo')) { |
| 38 |
|
return $this->redirectAfterRegistrationTo(); |
| 39 |
|
} |
| 40 |
|
|
| 41 |
|
return property_exists($this, 'redirectAfterRegistrationTo') ? $this->redirectAfterRegistrationTo : route('login'); |
| 42 |
|
} |
| 43 |
|
|
| 44 |
|
/** |
| 45 |
|
* Get redirect path after the confirmation was sent. |
|
@@ 49-56 (lines=8) @@
|
| 46 |
|
* |
| 47 |
|
* @return string |
| 48 |
|
*/ |
| 49 |
|
public function redirectAfterResendConfirmationPath() |
| 50 |
|
{ |
| 51 |
|
if (method_exists($this, 'redirectAfterResendConfirmationTo')) { |
| 52 |
|
return $this->redirectAfterResendConfirmationTo(); |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
return property_exists($this, 'redirectAfterResendConfirmationTo') ? $this->redirectAfterResendConfirmationTo : route('login'); |
| 56 |
|
} |
| 57 |
|
|
| 58 |
|
/** |
| 59 |
|
* Confirm a user with a given confirmation code. |