socialify icon indicating copy to clipboard operation
socialify copied to clipboard

Prevent registration of users true SSO when registrations are disabled

Open pgroot91 opened this issue 4 years ago • 0 comments

When new users are trying to sign in/up true single sign on the user shouldn't be able to create a new account when new registrations are not allowed.

if ( get_option( 'users_can_register' ) ) {

    // Your custom code or message to display if user registration is allowed.

}

pgroot91 avatar Sep 24 '20 09:09 pgroot91