This commit is contained in:
Almira Krdzic
2018-10-20 00:25:29 +02:00
parent 4d87551fef
commit e618484725

View File

@@ -113,6 +113,8 @@ class Wiaas_Authentication {
if ($user_id !== 0 && $user_id !== self::SUPER_ADMIN_USER_ID && $meta_key === $wpdb->get_blog_prefix() . 'capabilities') {
return array( array( 'customer' => true ) );
// import organization functions (during user authentication it is not yet loaded)
require_once dirname( __FILE__ ) . '/user/wiaas-organization-functions.php';