This commit is contained in:
Almira Krdzic
2018-10-20 00:30:10 +02:00
parent e618484725
commit 88c5ae5eb1

View File

@@ -55,6 +55,8 @@ class Wiaas_Authentication {
return $user_id; return $user_id;
} }
return $user_id;
$user = new WP_User($user_id); $user = new WP_User($user_id);
if (empty($user->roles)) { if (empty($user->roles)) {