Support » Networking WordPress » Super admin can only add user in "limited email reg" domains?

  • dgilmour


    I’ve registration limited to a set of school email domains, but have regularly used Super Admin to manually add accounts for parents who don’t have email addresses in the school domains.

    Today – possibly the first time I’ve tried it since upgrading to 3.2.1 -that’s no longer possible; I get the error “Sorry, that email address is not allowed!” I’m using Network Admin > Users > Add new.

    Has the functionality changed here? Don’t *think* I’ve done anything likely to have broken it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)


    I’m 99% sure it changed in 3.2 to provide the same strictures as front end.

    Someone had a fix in the form of a plugin (shape of network activate) on here…



    @ipstenu Thanks, I’ll explore and post a link. 🙂

    @dgilmour – What did you turn up for plugins? This change is kicking my butt right now.

    Nevermind, I don’t need the plugin. I fixed this with the new “wpmu_validate_user_signup” hook. This allows superadmins to bypass email rules everywhere and ignores the limited email domain settings entirely. The preg_match() sets the pattern of allowed email addresses.

    In a network activated plugin:
    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Super admin can only add user in "limited email reg" domains?’ is closed to new replies.