Completed
Push — master ( 2bf232...1cde98 )
by Ryan
02:10
created

PasswordController::forgot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php namespace Anomaly\UsersModule\Http\Controller;
2
3
use Anomaly\Streams\Platform\Http\Controller\PublicController;
4
use Illuminate\Contracts\Encryption\Encrypter;
5
6
/**
7
 * Class PasswordController
8
 *
9
 * @link          http://pyrocms.com/
10
 * @author        PyroCMS, Inc. <[email protected]>
11
 * @author        Ryan Thompson <[email protected]>
12
 * @package       Anomaly\UsersModule\Http\Controller
13
 */
14
class PasswordController extends PublicController
15
{
16
17
    /**
18
     * Return a forgot password view.
19
     */
20
    public function forgot()
21
    {
22
        return $this->view->make('anomaly.module.users::forgot');
23
    }
24
25
    /**
26
     * Reset a user password.
27
     *
28
     * @return \Illuminate\Contracts\View\View|mixed
29
     */
30
    public function reset()
31
    {
32
        return $this->view->make('anomaly.module.users::reset');
33
    }
34
}
35