/**
  * Method that creates the login form for this authentication method
  *
  * @param Controller $controller The parent controller, necessary to create the
  *                   appropriate form action tag
  * @return Form Returns the login form to use with this authentication
  *              method
  */
 public static function get_login_form(Controller $controller)
 {
     /** @skipUpgrade */
     return MemberLoginForm::create($controller, "LoginForm");
 }
 /**
  * Factory method for the lost password form
  *
  * @return Form Returns the lost password form
  */
 public function LostPasswordForm()
 {
     return MemberLoginForm::create($this, 'LostPasswordForm', new FieldList(new EmailField('Email', _t('Member.EMAIL', 'Email'))), new FieldList(new FormAction('forgotPassword', _t('Security.BUTTONSEND', 'Send me the password reset link'))), false);
 }