Support the ongoing development of Laravel.io →

1,916 Threads

Auth::user returns model? But does not return accessors (getFooAttribute)?

If someone logs in to my website. And I run the following $user = Auth::user(); return dd($user); I...

0 Likes
0 Replies

How can i create route with 2 middleware inside thanks !

Route::get('admin/dashboard', function () { return 'Welcome to admin page'; })->middleware('...

0 Likes
1 Replies
posted 9 years ago

Logging in and returning to previous page

Trying to change the page that the user is redirected to after login or registration and having some...

0 Likes
4 Replies
posted 9 years ago

Status check on authentication

I have status field for users and want to check whether user has active status before authenticate h...

0 Likes
3 Replies
Solved

Remove trailing "#_=_" when successfully logged in

I have Laravel 5.2 on windows, using apache XAMPP for db mysql connection. I use php artisan serve t...

0 Likes
0 Replies

Remote server JSON requests

Hello! I am very new to Laravel so dont blame me so much please :) I have to buld app that will get...

0 Likes
0 Replies

Admin account

This is what the doc says: Guard Customization You may also customize the "guard" that is...

0 Likes
1 Replies

Laravel Auth with Twig and TwigBridge

I have installed Twig and I'm using TwigBridge. It's working because I can write twig syntax etc in...

0 Likes
0 Replies

SSH not connecting in laravel 5.2

Hi, I've a form, on submit of the form I'm connecting to remote server to create a file in the home...

0 Likes
0 Replies

Auth::logout() is throwing an error

Hi, I'm new to Laravel and this is my first project using the framework. I'm having issues with the...

0 Likes
1 Replies

$this->beforeFilter('logged')

Hi everybody. First of all, I need to mention that my knowledge about Laravel is ZERO. I just instal...

0 Likes
0 Replies

PDOException in Connector.php

PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'lo...

0 Likes
2 Replies
Solved

How to use new multi auth feature in laravel 5.2

Hello All, I am new in laravel community and start learning laravel. I am going to create a new webs...

0 Likes
1 Replies

Laravel 5.2 custom authentication through third party API

Hi. I'm trying to create a custom authentication method that's going to be used to authenticate user...

0 Likes
2 Replies

Restfull authentication for external app and use in blade view

Hi, I'm currently working on a project where I have to build a restfull API in laravel 5.2. It need...

0 Likes
0 Replies
posted 9 years ago

Laravel ACL

I can't get $request->user() in my CheckRoles middleware. it always null after loging and redirec...

0 Likes
0 Replies

A question so basic I can't even come up with a thread name

Outside Laravel I may would defined a variable as $validation and asigned it a zero integer, and if...

0 Likes
1 Replies

Class App\Http\Controllers\AuthController does not exist

I recently found that the registration of new users, login and such, should be in the AuthController...

0 Likes
2 Replies
Solved

Redirect is rendering template rather than stopping execution in PHPUnit

I have a Laravel 4 application where I check if the user is authenticated and if not it redirects th...

0 Likes
0 Replies

Moving unhashed passwords to hashed Laravel users table

I've got an old users table that has user info with unhashed passwords. I want to migrate all of tho...

0 Likes
1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.