Become a member
Sign in
Laravel 5.6 — Customizing default Auth (Part 2) — Login with Username or Email
464
8
Bijaya Prasad Kuikel
Marcus Christiansen
Marcus Christiansen
Aug 31, 2018 · 1 min read

Hey Bijaya,

I might have missed it in your code, but shouldn’t the login validation also include a check to see if the status column is set to 1? Else a user can log in without activating the account.

If I missed it, can you show me where you validate this? Thanks in advance. :)

    Marcus Christiansen

    Written by

    Marcus Christiansen

    See responses (1)

    Discover Medium

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

    Make Medium yours

    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

    Become a member

    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade
    AboutHelpLegal