Skip to content

Commit 11457a9

Browse files
authored
[Bugfix] Server error on password change (alexjustesen#720)
1 parent 4a4c34f commit 11457a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

routes/web.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
Route::redirect('/', '/admin');
1717

18-
Route::redirect('/login', '/admin/login');
18+
Route::get('/login', function () {
19+
return redirect('/admin/login');
20+
})->name('login');
1921

2022
if (app()->isLocal()) {
2123
require __DIR__.'/test.php';

0 commit comments

Comments
 (0)