10000 Migrate admin parts to filament by ijpatricio · Pull Request #1179 · laravelio/laravel.io · GitHub
[go: up one dir, main page]

Skip to content

Migrate admin parts to filament #1179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Auto-login in local env
  • Loading branch information
ijpatricio committed Nov 12, 2024
commit a5612fe31b412e33781c1a4fe38b4aa4d82ef08d
21 changes: 21 additions & 0 deletions app/Filament/Pages/Auth/Login.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

namespace App\Filament\Pages\Auth;

use Filament\Pages\Auth\Login as BasePage;

class Login extends BasePage
{
public function mount(): void
{
parent::mount();

if (app()->environment('local')) {
$this->form->fill([
'email' => 'test@example.com',
'password' => 'password',
'remember' => true,
]);
}
}
}
0