Support the ongoing development of Laravel.io →

342 Threads

Laravel 5 unit testing controllers with auth middleware

I'm trying to write some unit tests for my controllers in Laravel 5 The route is protected by the au...

0 Likes
6 Replies
Solved

Socialite on Homestead is failing

I followed the steps to install socialite, after I get redirect back to the website I get this error...

0 Likes
3 Replies
Solved

Password confirmation using javascript

Hello. I am trying to create a way so that user's must enter their password twice on signup, and it...

0 Likes
1 Replies
Solved

How to make authentication laravel 5.2

Hello everybody, I'm new with laravel and I never used any php framework, so I'm a little lost. Actu...

0 Likes
2 Replies
Solved

Database Errors After Swapping Out User.php for Another Class

I just installed laravel and created a new project. I ran php artisan make:auth which provides a lo...

0 Likes
3 Replies
Solved

Auth::check always returning false

I can't figure this out for the life of me. The Laravel docs imply/state that Auth::check should ret...

0 Likes
4 Replies
Solved

Can't login user in test

I'm attempting to login a user in a test using Auth::loginUsingId(1); ...but I'm getting the follow...

0 Likes
8 Replies
Solved

Where is the Auth controller?

How do I namespace in Auth so i can do this from the controller? echo Auth::user()->id; Class Au...

0 Likes
1 Replies
Solved
posted 7 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

PDOException in Connector.php

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

0 Likes
2 Replies
Solved

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
posted 8 years ago

Using PasswordBroker in Lumen

Hi there! I'm falling down with some Lumen issues here and I thought someone may be able to help me...

0 Likes
2 Replies
Solved

Auth::check() not working

Hi everyone, I'm having a problem using Auth::check() If I'm using it right after my Auth::attempt($...

0 Likes
3 Replies
Solved

$errors is empty

Im sorry if I am new to Laravel 5.2, but I get empty string in $errors even though if I use duplicat...

0 Likes
1 Replies
Solved

Auth::attempt() problem

Hey, trying to just make a very basic user system. Authentication is failing even though the values...

0 Likes
7 Replies
Solved

adldap2 and laravel 5.2

Hi Guys first of all i'm a complete newbie in frameworks, i started reading about that a few days ag...

0 Likes
3 Replies
Solved

Auth::guest() does not work for student (custom) guard

I am using student guard for Authentication everything is working fine. Auth::guard('student')->u...

0 Likes
1 Replies
Solved

Laravel Auth routing issue

Hey there, I am new to laravel i have created laravel basic authentication using command line, ever...

0 Likes
4 Replies
Solved

Single User at a Time Login

Has anyone managed to implement a system that prevents multiple logins for the same user name/id? I...

0 Likes
1 Replies
Solved

Strange auth middleware redirect

Hi! Just started learning Laravel with the help of learninglaravel.net tutorial, however I'm a bit s...

0 Likes
2 Replies
Solved

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.

© 2024 Laravel.io - All rights reserved.