• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

[HELPED] How to add a "forgot password" in the login form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [HELPED] How to add a "forgot password" in the login form

    Hi,

    I'm not sure if someone already asked this, what do you suggest I do so that I can have a "Forgot password" link in the login form?
    This could just be a mailto link to email a password reset request or preferably a link to another page.

    Any help is much appreciated. We are using the latest 3.2 version.
    Last edited by Maria; 12-20-2012, 10:43 PM. Reason: additional notes

  • #2
    I would add this to the portalhook so you do not have to modify the base portal.

    Code:
        componentrender : function(cmp){
            if (cmp.xtype === 'loginform'){
                cmp.add({
                    xtype : 'component',
                    html : '<a target="_blank" href="http://www.google.com">Forgot Password</a>'
                });
            }
        },

    Comment

    Working...
    X