My apologies Alex, but I have no idéa where to find it. I tried searching my entire solution for "IsApproved" and "Save(member)" but it yields no results.
I haven't changed anything regarding creating users. I simply included that snippet and what kind of magic it doesn, I don't know.
The UmbRegisterController you are talking about, all it has inside is this, which is meta data.
public class UmbRegisterController : SurfaceController
{
public UmbRegisterController();
[HttpPost]
[ValidateAntiForgeryToken]
public ActionResult HandleRegisterMember([Bind(Prefix = "registerModel")] RegisterModel model);
}
Disable created member by default
Hi guys,
Is it possible to manually approve members? They shouldn't be approved automatically upon registering.
Cheers!
Hi,
Yes this is possible, just create members that are not approved, just create a member with IsApproved = false value, like that:
Thanks,
Alex
Hi Alex!
I'm not that experienced with using Umbraco's API to modify the memberships (or anything in that regard).
When you kindly share the above example. How exactly do you implement it? Do you create a class in the App_Data folder and apply it there?
It's better if you show how do you create a member? Can you show the code?
It's just the snippet I use, I haven't figured out how to do otherwise :)
I think we need a code of "UmbRegisterController"
There should be a logic that saves members and set approved or not.
Thanks,
Alex
My apologies Alex, but I have no idéa where to find it. I tried searching my entire solution for "IsApproved" and "Save(member)" but it yields no results.
I haven't changed anything regarding creating users. I simply included that snippet and what kind of magic it doesn, I don't know.
The UmbRegisterController you are talking about, all it has inside is this, which is meta data.
You can always fork and tweak or you could do some backoffice tweaking and just hide the options with some js/css logic...
is working on a reply...