Skip to content

Commit

Permalink
Fix #4: change hardcoded email by the config value
Browse files Browse the repository at this point in the history
  • Loading branch information
PatBriPerso committed May 17, 2024
1 parent 835c077 commit df30f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Illuminate\Support\Facades\Validator;

Route::get('catalog', function () {
\Illuminate\Support\Facades\Auth::login(\App\User::where('email', 'engineering@computablefacts.com')->firstOrFail());
\Illuminate\Support\Facades\Auth::login(\App\User::where('email', config('towerify.admin.email'))->firstOrFail());
$apps = \App\Models\Product::orderBy('name')
->get()
->map(function (\App\Models\Product $product) {
Expand Down

0 comments on commit df30f8c

Please sign in to comment.