Thursday, 11 September, 2025г.
russian english deutsch french spanish portuguese czech greek georgian chinese japanese korean indonesian turkish thai uzbek

пример: покупка автомобиля в Запорожье

 

#7 Make Admin Panel in Laravel 5.6 | Display Error Message on Login Failure | Logout Process

#7 Make Admin Panel in Laravel 5.6 | Display Error Message on Login Failure | Logout ProcessУ вашего броузера проблема в совместимости с HTML5
Previous Video: https://youtu.be/bzYBu0iez3s In Part 7, we have displayed error message on login failure and worked on logout functionality to logout from admin after Successful login. 1) Display Error Message :- We have displayed error message like "Invalid Username or Password" if our login fails. First in AdminController.php, in login function, we have returned error message if login fails. Now in admin_login.blade.php, we have displayed error message. You can search on Google for some good bootstrap flash message code and integrate it as done in video. Error Message of "Invalid Username or Password" started coming but for closing it, make sure to add bootstrap CSS and JS and use error bootstrap class. Now you have seen in video, error message properly comes if we use incorrect password. 2) Logout functionality :- We have added logout function in AdminController.php for logout and its route as well. Use Session; at top and add Session::flush(); to clear off all Sessions. And then we redirect back to login page with success message. We are done now! Logged out Successfully.. Thanks! Hope everything is clear to you. You can add me on Facebook at amitg100 if you have any queries or simply message here in Youtube... Thanks for watching! Next Video | Part 8: https://youtu.be/6kIqINVNS30
Мой аккаунт