Completed
Pull Request — master (#116)
by Franco
01:50
created

LDAPChangePasswordHandler   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A changePasswordForm() 0 4 1
1
<?php
2
3
namespace SilverStripe\ActiveDirectory\Authenticators;
4
5
use SilverStripe\ActiveDirectory\Forms\LDAPChangePasswordForm;
6
use SilverStripe\Security\MemberAuthenticator\ChangePasswordHandler;
7
8
class LDAPChangePasswordHandler extends ChangePasswordHandler
9
{
10
    /**
11
     * Factory method for the lost password form
12
     *
13
     * @return LDAPChangePasswordForm Returns the lost password form
14
     */
15
    public function changePasswordForm()
16
    {
17
        return LDAPChangePasswordForm::create($this, 'ChangePasswordForm');
18
    }
19
}
20