Skip to main content

All Questions

0 votes
0 answers
233 views

laravel Auth::logoutOtherDevices() doesn't redirect to login page?

i am using Auth::logoutOtherDevice() in laravel and it logs out user from other sessions but they need to refresh to get to login page . why Doesn't it redirect automatically to login page? If not ...
Tej Singh's user avatar
-1 votes
2 answers
94 views

After change the password login is not working using Laravel

I created the client register and the password change function. When I register the client with the password that password and username are working without any issues. But when I change the password ...
Jerad's user avatar
  • 211
0 votes
0 answers
64 views

Laravel 5.8 , customize register controller but weirdly not working, how to solve this error?

Argument 1 passed to Illuminate\Auth\SessionGuard::login() must implement interface Illuminate\Contracts\Auth\Authenticatable, string given, called in /home/mumildup/laravel/vendor/laravel/framework/...
user12297722's user avatar
8 votes
2 answers
1k views

Cross Authentication between two different Laravel application

Background The two application is developed in PHP Laravel web application. In the application, App 1 and App 2 are two difference Application and being managed by two different team. App 1 is use to ...
Quek Yao Jing's user avatar
0 votes
1 answer
1k views

Laravel auth doesn't work but all routes are properly created

I created routes and controllers for login and register, but when I try to go to either GET login or POST login, the pages don't show up, and no errors are logged in php_error.log (strange). I did ...
Vladimir Despotovic's user avatar
2 votes
1 answer
2k views

Invalidating Session not logging out - Laravel 5

So basically a user can stay logged in accross iPhone, Chrome, Firefox and multiple browsers and I want to stop that, and only allow the user to be logged in at (1 session only at a time). Meaning: ...
Merky's user avatar
  • 25
0 votes
1 answer
2k views

Laravel - problem with Crypt::decrypt, wrong syntax in code

I know that my solution is wrong, but can someone help me with correct syntax how decrypt my string and log in ? Laravel API resived code and store encrypted in Database api route Route::post('data','...
Novice's user avatar
  • 393
0 votes
1 answer
187 views

How to insert Token and data to API and display result

I am working one one Api where I have to Custno & his token which will give me data as output but I am unable to do so. i have done so for is class Profiles extends Controller { function list() {...
Sohan Sonar's user avatar
0 votes
1 answer
144 views

Authentication In Laravel With Multi Auth

i am just learning the laravel version 5.4. i just made a simple blog post application using laravel with an website and admin panel So in navbar which is common for front side code looks like below @...
TarangP's user avatar
  • 2,738
1 vote
1 answer
523 views

In Laravel ,After registration app redirects to '/home' even after changing $redirectTo variable to '/

I was following the laravel 5.6 documentation and according to them changing $redirectTo variable inside Register Controllers should redirect user to desired location but I always get redirected to '/...
Tareq Ahmed's user avatar
0 votes
1 answer
356 views

Auth(guard )function is not working in laravel 5.6

I made multiple two different authentications for (users, clients) users is default one and I maintain that for my admin. users default one is working but I try to login with my frontend it's not ...
Jerad Arul's user avatar
0 votes
1 answer
422 views

How to use Auth::check or Auth::user between different domains?

I've got a question regarding Laravel framework (vers. 5.2) and the authentication. I have 2 domains which represent a software. let's call them https://azure.mydomain.com and https://azuresoftware....
dns_nx's user avatar
  • 3,943
1 vote
1 answer
196 views

Laravel- token is not created on register request

I'm newbie in laravel and I'm working on a project including JWT. I've changed the user table that was generated by Laravel: instead of 'name' column , I replaced to 'first_name' and 'last_name' ...
Mor Ben Ezra's user avatar
0 votes
0 answers
329 views

Laravel: Auth::user()->id Trying to get property 'name' of non-object

i'm Getting an error 'Trying to get property 'name' of non-object ' when i Trying to open dashboard page There is my codes : in UserController.php public function index(Request $request) { $...
Rizky ID's user avatar
0 votes
0 answers
45 views

Anyone here ever having trouble such as auth::user() make us confusing?

So on database, user who have named Mirna has a hrd role. And i have a code like this. <p class="text-muted">Your Current Role is <strong>{{Auth::user()->role}}</strong> </p&...
Bin Ski.'s user avatar
  • 1,005

15 30 50 per page
1
2 3 4 5
42