Skip to content

Commit 1640089

Browse files
Redirect to configuration url instead of home
1 parent 51e53ef commit 1640089

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Http/Controllers/TwoFactorAuthenticationController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function enableTwoFactorAuthentication(Request $request)
8686
];
8787
}
8888

89-
return redirect('home');
89+
return redirect(config('2fa-config.redirect_to'));
9090
}
9191

9292
/**
@@ -112,7 +112,7 @@ public function disableTwoFactorAuthentication(Request $request)
112112
];
113113
}
114114

115-
return redirect('home');
115+
return redirect(config('2fa-config.redirect_to'));
116116
}
117117

118118
/**

0 commit comments

Comments
 (0)