Jump to:

5554 Posts in 1742 Topics by 1227 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Custom requirements for Login/Password recovery Form

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1330 Views
  • Tonyair
    Community Member
    81 Posts

    Custom requirements for Login/Password recovery Form Link to this post

    Hello, I managed to add custom requirements to Login form, but how can i add them to password recovery form?

    Object::useCustomClass('MemberLoginForm', 'CustomLoginForm');

    class CustomLoginForm extends MemberLoginForm {

       function custom_requirements() {
       function __construct($controller, $name, $fields = null, $actions = null,
                                      $checkCurrentUser = true) {
          parent::__construct($controller, $name, $fields = null, $actions = null,$checkCurrentUser = true);


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.