Questions tagged as 'auth'

2
answers

Change table users Auth Laravel 5.1

I'm developing a system using Laravel 5.1 and I do not want to use tables in English. Actually I'm trying to keep the standard here in the company. I would like to know if I can use Auth or OAuth and change the table from users...
asked by 13.08.2015 / 17:32
3
answers

Disable Auto Redirect after login in CakePHP 2.4

I'm using CakePHP 2.4 Auth and if I try to access a link that needs to login it redirects to the login form. For example: I try to access: / projects / edit / 34 without being logged in. Then CakePHP redirects to / login. After informing the...
asked by 08.01.2014 / 19:19
1
answer

How can I differentiate authentications in laravel? Example: Administrator and Common User without using multauth

How can I differentiate routes to the same auth? I have a User table and I have registered two types of user: admin and common user, both in the User table, with the same attributes. How can I differentiate the routes that will appear for bot...
asked by 07.12.2016 / 18:42
2
answers

How to restrict access to routes in angularjs?

How do I restrict access on some routes, and allows logged-in users to access your content on Angulajs.     
asked by 25.08.2015 / 10:31
1
answer

Facebook login php Auth returning dialog / oauth? client_id in url

I am making my application for login on Facebook, however it returns with GET in url ?code=etc... Before it was working normally, I use Facebook's class . See: $facebook = new Facebook(array( 'appId' => APP_ID,...
asked by 23.02.2015 / 01:33
2
answers

How to edit the routes created by the make: auth command?

I have a project in Laravel where I used the make:auth command to create the views , routes, controllers and etc from a registration form. I need to change the view that is used by default in login to a view that I create...
asked by 06.04.2017 / 20:05
1
answer

Laravel Auth :: Atempt () always returns false

I tried to authenticate, but always returns false in the Auth::attempt() method of Laravel: $prontuario = Input::get('prontuario'); $senha = Input::get('senhas'); if (Auth::attempt(['prontuario' => $prontuario, 'senha' =>...
asked by 03.11.2016 / 00:50
3
answers

Routes accessible only to users logged in to Laravel?

Can anyone give me a hint on how to create routes that can be accessed only by users who are authenticated using Laravel ? For example , routes that relate to sharing, editing, deleting, and viewing publications are accessible only to...
asked by 24.08.2017 / 23:41
1
answer

Use Auth class in configuration file in Laravel

I'm using barryvdh / laravel-elfinder . This generates the configuration file /config/elfinder.php. Within this file, I inform the way to upload ElFinder files. I need every user to have their upload folder. I thought of creating a...
asked by 31.10.2016 / 17:56
1
answer

Login user information does not appear using Firebase!

I'm developing a Web-app! In the case, a chat, however, a chat with new and legal functions! I'm doing just for learning and fun! In the app, I'm using Firebase, to create Logins, Notifications etc! My question is: I am not able to di...
asked by 28.09.2016 / 06:29