Questions tagged as 'auth'

0
answers

Redirect if not logged Auth CakePHP

I have a small question. I configured the beforeFilter correctly to allow access to the actions due. My question is the following. When I try to access a certain action in a particular controller, the application is directing me to ... adm...
asked by 20.04.2015 / 17:03
0
answers

How to log in to another page via php? [closed]

I have a radio panel with web interface and it has a function that is essential for speakers to use. the problem is that this interface allows me to register only 1 user. In this case, I (Administrator). And I can not give this password to th...
asked by 11.12.2014 / 23:38
1
answer

Laravel 5 - Auth :: attempt: Error when using another table

Good afternoon guys, I've been searching the Internet and unfortunately I could not solve my problem. I need to authenticate users using the Laravel 5.2 framework however my method needs to be different, ie instead of using php artisan make:...
asked by 24.07.2016 / 23:08
1
answer

Authentication does not work after executing the make: auth command

I run the command: SmartFlex> php artisan migrate within my project and it is finalized correctly. The login and registry options are available in view , but when trying to access the registry, for example, the following error occur...
asked by 27.05.2017 / 03:27
1
answer

Doubt about the connection to the bank on laravel authentication 5.6 [closed]

Hello, I have a question and I can not solve it, I need to make the connection of the auth of laravel 5.6 with an existing database, but I am a little lost, I already put the sql server drivers and already connected with the bank in the database...
asked by 19.06.2018 / 19:55
1
answer

Cakephp 3 Permissions - Authentication

Good afternoon, Someone who has already needed to use the restrictions for the user via the bank in an editable way that can help. At first I followed the initial tutorial creating the users and roles tables, but the client asked me to edi...
asked by 19.12.2017 / 20:14
1
answer

How to change the Laravel 4.2 Auth database?

My project has two databases: one bank for user accounts and one for the project domain. My need is to define the database that Auth uses for authentication, because in the default configuration the domain database is defined. return ar...
asked by 12.01.2016 / 21:35
1
answer

IP Login Authentication

I'm creating a PHP application for login authentication: $phpsessid = 'SID: ".SID."<br>session_id(): ".session_id()."<br>COOKIE: ".$_COOKIE["PHPSESSID"]'; file_put_contents("$ip","$phpsessid"); $m = "localhost/'.$ip.'"; $res = file...
asked by 08.03.2014 / 20:24
0
answers

How to fix the error: Argument 2 passed to App \ Providers \ AuthServiceProvider

I wanted to put two policies, one for if the user already registered did not appear the anchor participate and the other if the user created the event appear the edit and delete buttons, but only works the second, as I do so Does politics partic...
asked by 09.11.2018 / 13:24
0
answers

Every time I click to go to another page, it asks for the login again (LARAVEL 5.6)

Good afternoon guys Every time I go to another page, my application asks to re-login Follow the route Route::get('/', function () { return view('welcome'); }); Auth::routes(); Route::group(['prefix'=>'admin','middleware'=>'...
asked by 17.09.2018 / 20:09