Laravel 5.4 Authentication | User Login With Status| #10 | Bitfumes

preview_player
Показать описание
Laravel 5.4 User Login with Status, when status is active user can log in and when status is non active, user can not able to log in.

Please suggest anything which we can add on this Authentication course so that everyone get Best out of this Authentication series

Laravel 5.4 Full Beginner Playlist :

--- FOLLOW ME ---

Subscribe for New Releases!

(ask me questions!)

--- QUESTIONS? ---

Leave a comment below and I or someone else can help you.
For quick questions you may also want to ask me on Twitter, I respond almost immediately.

Thanks for all your support!
Рекомендации по теме
Комментарии
Автор

Well done. This has been puzzling me for ages. No after your video I've got it. It is simple really.

jimelliott
Автор

return ['email' => $request->email, 'password' => $request->password, 'status' => 1];

pls use this line in authentication now this is working.

HimanshuVerma-rrww
Автор

thank you for your tutorial. this one works for me and i'm using laravel 7. greetings from colombia.

jorgeestarita
Автор

Very well explained.
I think this method can help to approve posts, ban users and so on.

Also i'm waiting verification system. It must have for every project! :)
Ofc with error messages, thanks

pastuh
Автор

Hi Bitfumes Webnologies, I have seen all ur videos.. It was really superb and awesome. I have learned laravel from this tutorial.In this video, the login and registration page are used default from laravel. Can u use another template or simple textboxes for login and registration because I need to customize the login for my task.

suhirdhadevadoss
Автор

Hello sir can you do this in angular Iam facing the same issue

zakirhussainb
Автор

It is NiCE But... if The User Status is 0(Blocked By the Admin)... The How to Display the Required Error Message?

shubhajeet
Автор

Hello Sir very nice videos, I liked them and subscribed to your channel because of this series, this helped a lot! When will the user verification via email video be posted? Thank you!

digitaljazzxyz
Автор

Nice Video,
But is it possible, when status = 0 and if users are trying to login error message should display
"Sorry, you haven't verifyed yet".

mls.elegant
Автор

Nice video, but it is possible to login with username or email with user status

kishordev
Автор

Ankur, got this error in Laravel 5.5 @ 6:11
Type error: Argument 1 passed to must be an instance of App\Http\Controllers\Auth\Request, instance of Illuminate\Http\Request given, called in on line 78

YasirMalik
Автор

Target class does not exist.how to solve it

hinaqasim
Автор

hi ankur. can u pls make a video on error msg like in this video if user is not an active then it show err msg not an active person instead of These credentials do not match our records.

naazimkhan
Автор

You have created different profile for two roles. What happens when i have an application that has 5 roles, will I have to create 5 profiles or is there a simple/better way of creating a roles and then restricting user access to page based on permission for that page? If there is a better way, do you plan to include this in this series?

davidmukoro
Автор

Thanks for another great video. But is it possible, when status = 0 and if users are trying to login error message should display "Sorry, you haven't verifyed yet"

vikifacts
Автор

nice thank you...But when we register it directly log in without approval

rutvitrivedi
Автор

sir but what happen to status when user get automatically loggedout due to session timeout

yogeshsharma-wbnu
Автор

Hello Ankur; how can i do this: I want to have a dropdown list in the view page, and retrieve data based on the item selected from the dropdown list into the same view page without using ajax ?

davidmukoro
Автор

So, if the status is 0, user can't login and status is 1, user logs in. Suppose if status is 1 and user logs in and during that I changed status to 0 in localhost [imagine it as banning a user from social network]. Now if I refresh the page, I'm still logs even if the status is 0. Can you plz tell me how we can automatically logout the user on page refresh?

AyushLikhar
Автор

that's good.. but If I deactivate a user who is already logged in, he/she should be logged out automatically. But this is not happend.

mosharofhossain