"라라벨 PasswordController.php"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-==참고 자료== +==참고==))
41번째 줄: 41번째 줄:
* [[라라벨 AuthController.php]]
* [[라라벨 AuthController.php]]


==참고 자료==
==참고==
* https://github.com/laravel/quickstart-intermediate/blob/master/app/Http/Controllers/Auth/PasswordController.php
* https://github.com/laravel/quickstart-intermediate/blob/master/app/Http/Controllers/Auth/PasswordController.php



2017년 7월 11일 (화) 02:13 판

1 개요

라라벨 PasswordController.php
<?php

namespace App\Http\Controllers\Auth;

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

class PasswordController extends Controller
{
    /*
    |--------------------------------------------------------------------------
    | Password Reset Controller
    |--------------------------------------------------------------------------
    |
    | This controller is responsible for handling password reset requests
    | and uses a simple trait to include this behavior. You're free to
    | explore this trait and override any methods you wish to tweak.
    |
    */

    use ResetsPasswords;

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

2 같이 보기

3 참고