mooxphp / moox-press

Old Monorepo for Press
MIT License
2 stars 0 forks source link

Login Remember #8

Open adrolli opened 6 months ago

adrolli commented 6 months ago

The remember-feature does not work yet, currently disabled in Login.php:

    public function form(Form $form): Form
    {
        return $form
            ->schema([
                $this->getLoginFormComponent(),
                $this->getPasswordFormComponent(),
                //$this->getRememberFormComponent(),
            ])
            ->statePath('data');
    }

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'remember_token' in 'field list'

Possible solutions:

adrolli commented 6 months ago

The remember feature is implemented on Laravel-side, must be implemented in WP auth process, too?

Questions: