We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c30042c commit ba27e63Copy full SHA for ba27e63
1 file changed
components/Account.php
@@ -486,11 +486,16 @@ protected function makeRedirection($intended = false)
486
{
487
$method = $intended ? 'intended' : 'to';
488
489
- $property = $this->property('redirect');
+ $property = trim((string) $this->property('redirect'));
490
491
- if (empty($property)) {
+ // No redirect
492
+ if ($property === '0') {
493
return;
494
}
495
+ // Refresh page
496
+ if ($property === '') {
497
+ return Redirect::refresh();
498
+ }
499
500
$redirectUrl = $this->pageUrl($property) ?: $property;
501
0 commit comments