PasswordController::reset()   A
last analyzed

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
c 0
b 0
f 0
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
 */
13
class PasswordController extends PublicController
14
{
15
16
    /**
17
     * Return a forgot password view.
18
     */
19
    public function forgot()
20
    {
21
        return $this->view->make('anomaly.module.users::password/forgot');
22
    }
23
24
    /**
25
     * Reset a user password.
26
     *
27
     * @return \Illuminate\Contracts\View\View|mixed
28
     */
29
    public function reset()
30
    {
31
        return $this->view->make('anomaly.module.users::password/reset');
32
    }
33
}
34