Пользователи < /p>
Код: Выделить всё
class User extends Authenticatable
{
}
< /code>
Adminuser < /p>
class AdminUser extends Authenticatable
{
}
Код: Выделить всё
Подробнее здесь: [url]https://stackoverflow.com/questions/79512238/how-to-prevent-authenticated-users-from-accessing-the-login-page-in-laravel-12[/url]
Мобильная версия