| 1 | <?php |
||
| 2 | class OpauthMemberLoginFormExtension extends Extension { |
||
|
|
|||
| 3 | |||
| 4 | /** |
||
| 5 | * @config |
||
| 6 | * @var boolean |
||
| 7 | */ |
||
| 8 | private static $allow_password_reset = true; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Deny password resets |
||
| 12 | * |
||
| 13 | * @param Member $member |
||
| 14 | * @return boolean |
||
| 15 | */ |
||
| 16 | public function forgotPassword($member) { |
||
| 36 | |||
| 37 | } |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.