PHP Classes

File: app/Http/Controllers/Auth/LoginController.php

Recommend this page to a friend!
  Classes of Renato De Oliveira Lucena  >  PHP Pokemon Script  >  app/Http/Controllers/Auth/LoginController.php  >  Download  
File: app/Http/Controllers/Auth/LoginController.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Pokemon Script
Provides an API to manage a database of Pokemons
Author: By
Last change:
Date: 2 years ago
Size: 943 bytes
 

Contents

Class file image Download
<?php

namespace App\Http\Controllers\Auth;

use
App\Http\Controllers\Controller;
use
Illuminate\Foundation\Auth\AuthenticatesUsers;

class
LoginController extends Controller
{
   
/*
    |--------------------------------------------------------------------------
    | Login Controller
    |--------------------------------------------------------------------------
    |
    | This controller handles authenticating users for the application and
    | redirecting them to your home screen. The controller uses a trait
    | to conveniently provide its functionality to your applications.
    |
    */

   
use AuthenticatesUsers;

   
/**
     * Where to redirect users after login.
     *
     * @var string
     */
   
protected $redirectTo = '/home';

   
/**
     * Create a new controller instance.
     *
     * @return void
     */
   
public function __construct()
    {
       
$this->middleware('guest')->except('logout');
    }
}


For more information send a message to info at phpclasses dot org.