Passed
Pull Request — master (#110)
by Robbie
02:33
created

MemberAuthenticator::getChangePasswordHandler()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
namespace SilverStripe\MFA\Authenticator;
3
4
use SilverStripe\Security\MemberAuthenticator\MemberAuthenticator as BaseMemberAuthenticator;
5
6
class MemberAuthenticator extends BaseMemberAuthenticator
7
{
8
    public function getLoginHandler($link)
9
    {
10
        return LoginHandler::create($link, $this);
11
    }
12
13
    public function getChangePasswordHandler($link)
14
    {
15
        return ChangePasswordHandler::create($link, $this);
16
    }
17
}
18