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 )
Membership Login
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.
is working on a reply...