All Questions
76 questions
-3
votes
1
answer
472
views
Login doesn't work even though the credentials are correct in Laravel and mySQL [closed]
i'm having issues where i'm trying to make a login page while connecting it into my mySQL, i've tried most solutions and it's not working for me,what keeps happening is it keeps going into else in ...
0
votes
2
answers
96
views
Laravel can not read the user ID
I am using laravel and vue for a project, I want to pass the user id to the table if the user is authenticated, but for some reason the authenticated user's id is not passed to the query giving this ...
0
votes
1
answer
144
views
Login Authentication using stored procedure in Laravel
I want to create a login authentication in Laravel using the stored procedure that has been prepared. When the user inputs the correct username and password, they will be redirected to the home page. ...
2
votes
0
answers
61
views
how to approach different users that interreact with each other in laravel migration mysql
I recently took a Laravel course to create my final year project. I had already created the database but with this course things got me a little confused, because Laravel has it's own user table and ...
1
vote
0
answers
696
views
Same login on multiple different Laravel projects
I have many projects as subdomains for maindomain:
(haderegypt.com, doctors.haderegypt.com, treats.haderegypt.com)
i need to share login between them like for instance if i logged on examble.com so i ...
0
votes
1
answer
149
views
Laravel 8 multi-authentication using RolesMiddleware
I'm currently working on a Laravel 8 project which has multiple authetication based on role. However, I am new to Laravel and for a start I created a Middleware for each role (isAdminMiddleware, ...
-1
votes
1
answer
197
views
jetstream laravel login dose not check my database and bring me back to login page
jetstream laravel login dose not check my database and bring me back to same login page !!
I want after login the system go to redirects route
enter image description here
enter image description here
0
votes
1
answer
679
views
Laravel using wrong table for registration and returns "SQLSTATE[42S22]: Column not found"
What I want to do is change where laravel looks for the email and password for registration. Instead of having it in the users table, I have it in a logins table. But even when I change the code in ...
0
votes
0
answers
309
views
Laravel/Lumen : SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client
I uploade my Laravel/Lumen api to server after I checked it on localhost.
for any query I have using (Where) it gives me same error such as this:
SQLSTATE[HY000] [2054] The server requested ...
0
votes
3
answers
2k
views
How to make custom login only for admin in laravel?
I use laravel ui for authentication. Now, I want to custom login where only the admin can log in, otherwise, the user will be redirected to the user's login page. In the user's table one column name &...
0
votes
2
answers
72
views
I want to get only user id without text
I use some Laravel code,
$cid = $request->input('cusid');
$cus = DB::table('customers')->select('id')->where('cusid', $cid)->get();
code select customer "id" in cuctomers table ...
-1
votes
1
answer
75
views
laravel without login is sending me to the wrong route
Route::get('/', 'userController@sigIn')->name('sigIn');
Route::post('/login', 'userController@login')->name('login');
Route::get('/sigout', 'userController@sigOut')->name('sigOut');
I have ...
0
votes
0
answers
141
views
how to develop multiple authentication chat system using users and admins
I am developing a chat system that allows teachers(admins table) and students(users table) to log in and send messages to each other using a chat function with laravel.
I was able to develop chat ...
-1
votes
2
answers
200
views
Create 2 types of register form laravel User/Seller
I would like to create 2 different register of authentication.
I will use php artisan make --auth for the users but I need an other kind of register with more inputs for sellers when they register (...
0
votes
1
answer
777
views
Resend email function causes 419 | Page Expired error in Laravel
I have this function for registering users which is pretty much the default one but i added a token to be sent to an email so the user can activate the account, otherwise the user cant log in. So i ...