laravel-authentication Questions

5

I am new to laravel and I am working with a functionality where we insert data in user table with DB::insert(); After that i get last id with $user_id = DB::getPdo()->lastInsertId(); Now I...
Disfranchise asked 29/1, 2019 at 10:25

10

Solved

I am working on laravel 5.4, i have used the auth for user login at client side,now i want the logged in user details at the Controller, view side by writing below code i got that: {{ Auth::user()-...
Gyve asked 22/7, 2017 at 18:41

5

Solved

Context With Postman, I send the following fields in order to register a user in the db, to the URL http://mywebsite/register: email password password_confirmation name According to the docum...

10

Solved

I start a new project in laravel but my composer installed a fresh version of laravel 6.0.1. Php artisan make:auth command can't work. I try many times but error can't remove composer require ...
Viehmann asked 9/9, 2019 at 16:1

7

Solved

Beginning with Laravel 5.3, this middleware was added... \Illuminate\Session\Middleware\AuthenticateSession While it's definitely a benefit for security purposes, it's also responsible for log...
Interbedded asked 7/11, 2017 at 0:16

3

Solved

Can Laravel Fortify be used in the context of API? From what I understand, Fortify (although being headless, i.e. doesn't include a UI layer) allows us to customize Login and Register pages, but it...
Privative asked 24/9, 2020 at 4:58

2

When using laravel/UI we can create authentication scaffold on multiple places or for multiple users like admin, normal users by copy-pasting the same scaffold generated by the &--auth flag. Ho...
Trench asked 18/9, 2020 at 13:52

3

Solved

I started building a web application using Laravel 8. I have noticed that quite a lot of things have changed in Laravel 8 including authentication. Now, I am trying to use Jetstream for auth. I hav...

6

Solved

I face the following image every time I want to start a new Laravel 8 project with authentication routes set up using the laravel/ui package and Bootstrap scaffolding. Meaning that the Bootstrap i...
Minify asked 13/2, 2021 at 19:20

5

Solved

I just wanted to say if the user is not active, don't allow to login. I have made the controller as below, I am not sure what I am missing or what else I have to do here to make this work! <?php...
Griffith asked 25/6, 2016 at 20:12

8

Solved

I have a multiauth laravel 5.2 app, with the fallowing guards defined on config/auth.php: ... 'admin' => [ 'driver' => 'session', 'provider' => 'admin', ], 'user' => [ 'driver' =&gt...
Autohypnosis asked 17/8, 2016 at 14:40

3

Solved

I'm trying to allow users to login using either email or username along with their password. I've added the following code inside boot() in FortifyServiceProvider.php : Fortify::authenticateUsing(f...
Unifoliolate asked 20/11, 2020 at 7:33

2

Solved

I am adding 1 attribute for authentication, but it doesn't work. i'm not change anything except adding this 2 method in my LoginController protected function credentials(Request $request) { ret...

3

Missing required parameters for [Route: verification.notice] [URI: {language}/email/verify] I added the laravel email verification to my project, after using localization. But now I have the probl...

1

I have the laravel 8 auth login form working perfectly, but i need to create a new athentication system for a different kind of users that are being stored in the database in another table with the...
Nestling asked 18/3, 2021 at 15:32

4

Solved

After upgrading the laravel 5.8 to laravel 6.x I am getting this error: Undefined class constant 'App\Providers\RouteServiceProvider::HOME' Before upgrading the application login system was the ...

4

Solved

I need to disable auto login after registering a new user in a Laravel application. I have found examples for older versions, but since Laravel 5.4 there is no AuthController as it divided to Login...
Phototherapy asked 5/4, 2017 at 8:41

1

Solved

By default Laravel 5.5's password reset system works on email, but I need to add support for a mobile number (verify by OTP and generate a token and redirect to password reset page). I am doing all...
Coatbridge asked 16/11, 2019 at 7:30

4

I am working on cart in laravel 5.5. Whenever guests click on "Add to cart", i am redirecting to login. If they have account, they will login and redirecting to product info they have selected. Oth...
Dercy asked 17/11, 2017 at 7:45

2

Solved

The default behaviour of Laravel (5.7)'s password reset system is to create a new token in the password_resets table after deleting any others for that user. This behaviour is determined in \Illumi...
Orchidectomy asked 13/6, 2019 at 21:54

2

I want to change the table name and some column names of laravel auth table. Change table name from 'users' to 'accounts' Change table column name from 'name' to 'username' Change table column na...
1

© 2022 - 2024 — McMap. All rights reserved.