Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mus'ab 158 posts 387 karma points notactivated
    Sep 25, 2019 @ 14:29
    Mus'ab
    0

    is there a feature to make members able to reset their passwords ?

    Hi our i am using Umbraco members features and generate the login form. here is my code

     using (Html.BeginUmbracoForm<UmbLoginController>("HandleLogin"))
            {
                @Html.HiddenFor(m => loginModel.RedirectUrl)
                <fieldset>
                    <div class="login-fields flex-box gray-border-top margin-top-40 flex-wrap">
                        @Html.ValidationSummary("loginModel", true)
                        <div class="popup-field username">
                            @Html.LabelFor(m => loginModel.Username, "أسم المستخدم", new { @class = "username-label" })
                            @Html.TextBoxFor(m => loginModel.Username, new { @class = "common-input" })
                        </div>
                        <div class="popup-field password">
                            @Html.LabelFor(m => loginModel.Password, "كلمة المرور", new { @class = "password-label" })
                            @Html.PasswordFor(m => loginModel.Password, new { @class = "common-input" })
                        </div>
                        <div class="popup-field">
                            @Html.ValidationMessageFor(m => loginModel.Username)
                            @Html.ValidationMessageFor(m => loginModel.Password)
                        </div>
                    </div>
                    <button class="common-btn mg-top20" type="submit">login</button>
    
    
                </fieldset>
                </div>
            }
    

    how can i add a button with reset password function ?

  • Frans de Jong 548 posts 1840 karma points MVP 4x c-trib
    Sep 25, 2019 @ 14:55
    Frans de Jong
    0

    You can refer to this blog article to get it all working. It is a old post but it is still relevant.

Please Sign in or register to post replies

Write your reply to:

Draft