Support the ongoing development of Laravel.io →

148 Threads

Authentication with two different tables

Hi, I've got two sites - a cms and a front-end site. I've successfully implemented the login/authen...

0 Likes 3 Replies
Solved

Rerouting not working for logout route only

Just starting out with Laravel and I've come across a weird problem when I try to log a user out (co...

0 Likes 2 Replies
Solved

Place for php.ini setting in Laravel?

I would like to set php.ini setting like: // example ini_set('max_execution_time', 30000); where pu...

0 Likes 2 Replies
Solved

security of input::get and eloquent

$comentario = new Comentario; $comentario->autor = Input::get('no...

0 Likes 1 Replies
Solved

external authentication

Hello, I'm working on an app that interacts with a soap webservice, which i'd also like to use for a...

0 Likes 1 Replies
Solved

Logout problem, Auth::check() still returns true after Auth::logout() and Session::flush() call.

Hi there, I'm using Laravel 4.1.26 with the following app::before filter: App::before(function($requ...

0 Likes 2 Replies
Solved

Protect intended url

Hello I have a following scenario: If user is not logged in and he tries to open /admin route he wi...

0 Likes 4 Replies
Solved

Can access User model method only if logged in

I have a User model with a little hom-made "roles/permission" system. Directly in my User...

0 Likes 1 Replies
Solved

HTTPS definition in routes.php

I have a questions about https requests: The example in the official Laravel4 docs doesn't work in m...

0 Likes 2 Replies
Solved

Authenticating with Sentry 2 (2.1.*) not working.

Hello guys. I am unable to get Sentry to authenticate a user. It currently finds the user but can't...

0 Likes 1 Replies
Solved

Auth attempt always return false

Hi Guys, I'm having some headache trying to solve this problem. In my table seeder, I create this us...

0 Likes 5 Replies
Solved

Controlling and managing access levels to all routes

I am in the planning stage of an app that will require fine control of permissions. What I mean is,...

0 Likes 4 Replies
Solved

Oversight bug in Laravel Validation Rule?

I have the following validation configuration: $rule = array( 'user_name' => 'required|unique:use...

0 Likes 1 Replies
Solved

Session expires in a middle of an ajax request

Hi there, In the middle of a form the user left the page idle and when he/she returned to it the ses...

0 Likes 4 Replies
Solved

Problem with password expiration

Hello. I need to force the user to change their password every 30 days. Is there anything in laravel...

0 Likes 2 Replies
Solved

Laravel-4 e() function whitelisting

I know that laravel's e() function will sanitize any input passed it ex : e($Input); , this will san...

0 Likes 3 Replies
Solved

Using input::get() to filter DB result is it safe ?

Hi, I use a form on a list of items to perform a filter. The form use a GET method. So in my URL I h...

0 Likes 4 Replies
Solved

What will be the best way to extend Sentry2 user model?

Hello, In my laravel 4 application, I need to add more fields in user table. I made new migration fi...

0 Likes 3 Replies
Solved
posted 8 years ago

Quick encryption question

How can I do something like this with encryption. [code] if( ! Crypt::decrypt(Input::get('encryptedv...

0 Likes 1 Replies
Solved

Where/how often do you do an Auth check?

I have controllers that have public get, create, update, and delete methods that should only be done...

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

© 2022 Laravel.io - All rights reserved.