Laravel Community Tools by Tighten

Tag "authentication" tricks

21 tricks
Laravel OTP is a comprehensive package that simplifies the generation and verification of Time-based One-Time Passwords (TOTP) and HMAC-based One-Time Passwords (HOTP). Whether you're building two-factor authentication or securing API access, Laravel OTP offers an easy-to-use, Google Authenticator-compatible solution. With support for TOTP and HOTP, and built-in methods for secret generation and verification, this package is perfect for adding an additional layer of security to your Laravel applications.
mustafakha... 1 year ago 9687
Send a reinitilisation code (6 digits) by email instead of a pratice link for mobile customers. In this case we are using fortify but working well with the laravel authentication system in general.
gabeta 4 years ago 14975
It is always painful to remember the password of the sample accounts and login with them while you are working on your project and test it. You can use this package to easily and securely login with any password without touching your code. https://github.com/imanghafoori1/laravel-anypass https://github.com/imanghafoori1/laravel-anypass
imanghafoo... 7 years ago 6165
First you create a file called Cors.php in app/Http/Middleware, then you register the middleware in the app/Http/Kernel.php file. If you want, you can change the default values adding the keys CORS_ALLOW_METHODS, CORS_ALLOW_ORIGINS, CORS_ALLOW_HEADERS and CORS_MAX_AGE to your .env file. Simple as that! This class is based on spatie/laravel-cors package.
lcdss 8 years ago 5295
Title : Access Control Allow Origin http set Headers Site Name : http://live24u.com/ URL : http://live24u.com/access-control-allow-origin-http-set-headers/ Live Example : http://live24u.com/tutorial/ We are Web Technology Experts and Team who provide you very Important information on Web Development information, Interview Questions and Answers, live project problem solution and their solution and online free tutorials – “live24u.com”.
live24u 8 years ago 7355
Laravel 5.4 Upload Image with Validation example
dave 8 years ago 21408
Laravel Invisible reCAPTCHA Example – Laravel Validate Form on Submit using Google reCaptcha
dave 8 years ago 8387
I want to use function attempt for login authenticate but i don't want send variable password * If i run code this it will show error "Undefined index: password" and this below vendor\laravel\framework\src\Illuminate\Auth\EloquentUserProvider.php public function validateCredentials(UserInterface $user, array $credentials) { $plain = $credentials['password']; return $this->hasher->check($plain, $user->getAuthPassword()); How can i do that . pls thank you
userhuman 9 years ago 9141
This is a short video series in two parts about how you can setup different user roles for users in your application using Laravel. It conists of users, roles and user_role tables for this type of relationships between users and their roles. It should all be clearly explained inside of the tutorials. There are ways of improving this functionality and it is really easy to add more roles if needed, build on top of it etc. Hope it will be useful to you and if you have any questions, ask away :) https://www.youtube.com/watch?v=KMR2H6-K36E
Novica89 9 years ago 8116