Copied to clipboard

Flag this post as spam?

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

  • Anil Kumar 41 posts 202 karma points
    May 12, 2018 @ 23:19
    Anil Kumar

    I have changed user status by default to False during registration process. User status will be changed on approval of client . I have a requirement where user need to be taken to different pages in two scenarios

    1) Validate user who is registered but his status is False(Suspend initially)--(take to a Profile Page where it mentions he needs approval from client and see his info )

    2) Validate user who is registered and his status is True(approved). --(Take to User Daskboard page on website)

    when i am trying to use the Login partial provided by Umbraco during User Login , it only allows the user who is registered and his status is true(approved). How can i validate the user for scenario 1 who is also registered but his status is False .

    (Hint: While setting the user status to false during registration , i am saving comments property to Registered of Member model and on approval changing to Approved )

    Please assist.

    Thanks in advance.

Please Sign in or register to post replies

Write your reply to: