Copied to clipboard

Flag this post as spam?

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


  • Rohan 105 posts 162 karma points
    Mar 03, 2015 @ 11:44
    Rohan
    0

    how to customize Register Member razor snippet

    Hi

    As per this link (https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/61603-Create-user-login-(my-account)-using-Umbraco-cms) i have created login stuff. It's working greate. Now i need to work for the "Register Member" stuff.

    I have one question, I have found the Register Memeber snippet in Partial Macros..
    On my registration page i have three fields Email, Password , Repeat Password.
    So if the Password && Repeat Password both match then only i need Post the form and need to Create member. Another thing i am looking for is format for password. I need password should be (Alpha Numeric with Special Sysmbol (!) ). So how to achieve this as well ?
    Can i customize this thing with existing Razor code snippet of (Register Member) ? Also on successful registration of member, i need to send User an email about his registration on website. 
    Please help me here.
    Thanks
    Rohan Dave
  • Alex Skrypnyk 6133 posts 23952 karma points MVP 7x admin c-trib
    Mar 05, 2015 @ 20:11
    Alex Skrypnyk
    0

    Rohan,

    You haven't another to do that, only customization or creation your own partial view.

    Thanks

  • Rohan 105 posts 162 karma points
    Mar 07, 2015 @ 07:33
    Rohan
    0

    Hi Alex

    Thanks for the reply.

    For validating User when they try to login to site i am using below method to check whether user is valid or not. But everytime it's not validating user. I am passing correct loginname, password.

    I have also tried with converting password to hashed string and then pass to below method argument but yet it's not validating.

    Member.GetMemberFromLoginNameAndPassword (login name, password)

    Can you please help me in which format i need to pass password argument in above method ?

    thanks,

    rohan

     

Please Sign in or register to post replies

Write your reply to:

Draft