Support the ongoing development of →
Authentication Database
Last updated 1 year ago.

To authenticate users, check out the (documentation)[]

        if (Auth::attempt(['email' => $email, 'password' => $password])) {
            // Authentication passed...
            return redirect()->intended('dashboard');

authentication service to uses my table user to make authentication instead of the table users

Regarding the table name, you change it in your (model)[]

class Flight extends Model
     * The table associated with the model.
     * @var string
    protected $table = 'my_flights';

Hope that helps.


Sign in to participate in this thread!


Your banner here too?

Khoya91170 khoya91170 Joined 10 Jun 2016


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.