Support the ongoing development of Laravel.io →

1,912 Threads

Laravel 5 - Change password for logged in users

I already using password reset function for guest users. is there any interface to change password o...

0 Likes
4 Replies
posted 7 years ago

Generate Refresh Token

I'm working on user registration in my API using Laravel Passport, and I need to return refresh_toke...

0 Likes
1 Replies

[Laravel 5] How do I create a custom auth in laravel 5

In laravel 4.2 there's this example how can I do the same thing in laravel 5.x?

0 Likes
27 Replies
Solved

Use Auth in construct method

Laravel Version: 5.6.* PHP Version: 7.2.2 Database Driver & Version: Mysql 5.0.12 Description: l...

0 Likes
0 Replies

auth::attempt dont work!!

Hi I write a usercontroller with a function as doLogin that first check rules with validation and a...

0 Likes
18 Replies
Solved

Return JWT token to javascript SPA from socialite login

I have a SPA app built on vue.js with a lumen api using JWT tokens which is working fine. Im trying...

0 Likes
4 Replies

ajax post in laravel 5 return error 500 (Internal Server Error)

this is my test ajax in laravel 5 (refer below) $("#try").click(function(){ va...

0 Likes
14 Replies

Is this class safe use it for authentication?

Hi everyone, im new in laravel. I know that there is a built in auth system but just because a train...

0 Likes
2 Replies

Is this safe? An alternative to gates and policies

So like many others i’m trying to build a Laravel Crud app, but I’ve got the problem that users can...

0 Likes
0 Replies

File upload extension dangerous issue

Hello, my app uses laravel 4.2 and allows jpg,png,jpeg uploads however if a user uploads a file name...

0 Likes
0 Replies

Auth::user()

When I use Auth::user() in a controller I get null as a result. The reason I need the ID of the curr...

0 Likes
1 Replies
0 Likes
0 Replies

Dynamic callback url laravel socialite

I tried to make my callback url dynamic because I'm configuring socialite in a multi auth system. I...

0 Likes
3 Replies

Why does my custom register page gives exception?

I have some problem creating the auth part of my site: I tried to adapt my page to the register.blad...

0 Likes
0 Replies

Bad redirect to two different administrations after login

Hello everyone. For the beginning, in my project there are 2 types of user interfaces, for users and...

0 Likes
0 Replies

preventing one role from accessing the property of the other

I have an inventory app that has three different roles, namely operator, admin, and super admin. the...

0 Likes
0 Replies

Add pin password to built in authentication

I'm writing my first application with Laravel (v 5.5) and it's days I'm trying to figure out how I c...

0 Likes
0 Replies

Custom Authentication in laravel

friends this code returns null in browser with correct email and password if(Auth::guard('admin')-&g...

0 Likes
0 Replies

Laravel 5.3 Auth redirect guests based on guard

i'm using multi auth in laravel 5.3 i need non logged in users redirect based on guard e.g admin use...

0 Likes
9 Replies

[5.4] Redirection after failed login

I've created a navigation bar with a dropdown menu where I show a login form. When a user enters wro...

0 Likes
0 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.

© 2024 Laravel.io - All rights reserved.