| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function doChangePassword(array $data, $form) |
||
| 13 | { |
||
| 14 | $return = parent::doChangePassword($data, $form); |
||
| 15 | $provider = Injector::inst()->get(BootstrapMFAProvider::class); |
||
| 16 | $provider->setMember(Security::getCurrentUser()); |
||
| 17 | $provider->updateTokens(); |
||
| 18 | |||
| 19 | return $return; |
||
| 20 | } |
||
| 22 |