Completed
Pull Request — master (#9)
by ARCANEDEV
04:02
created

ForgotPasswordController::showLinkRequestForm()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php namespace Arcanesoft\Auth\Http\Controllers\Front;
2
3
use Arcanesoft\Auth\Bases\Controller;
4
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
5
6
/**
7
 * Class     ForgotPasswordController
8
 *
9
 * @package  Arcanesoft\Auth\Http\Controllers\Front
10
 * @author   ARCANEDEV <[email protected]>
11
 */
12
class ForgotPasswordController extends Controller
13
{
14
    /* ------------------------------------------------------------------------------------------------
15
     |  Traits
16
     | ------------------------------------------------------------------------------------------------
17
     */
18
    use SendsPasswordResetEmails;
19
20
    /* ------------------------------------------------------------------------------------------------
21
     |  Constructor
22
     | ------------------------------------------------------------------------------------------------
23
     */
24
    /**
25
     * Create a new controller instance.
26
     */
27
    public function __construct()
28
    {
29
        $this->middleware('guest');
30
    }
31
32
    /* ------------------------------------------------------------------------------------------------
33
     |  Main Functions
34
     | ------------------------------------------------------------------------------------------------
35
     */
36
    /**
37
     * Display the form to request a password reset link.
38
     *
39
     * @return \Illuminate\Http\Response
40
     */
41
    public function showLinkRequestForm()
42
    {
43
        return view('auth::public.passwords.email');
44
    }
45
}
46