From 88c5ae5eb141ae851305028cd8a0a077e04e9b02 Mon Sep 17 00:00:00 2001 From: Almira Krdzic Date: Sat, 20 Oct 2018 00:30:10 +0200 Subject: [PATCH] test --- .../app/plugins/wiaas/includes/class-wiaas-authentication.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/app/plugins/wiaas/includes/class-wiaas-authentication.php b/backend/app/plugins/wiaas/includes/class-wiaas-authentication.php index 3f76643..a4403f4 100644 --- a/backend/app/plugins/wiaas/includes/class-wiaas-authentication.php +++ b/backend/app/plugins/wiaas/includes/class-wiaas-authentication.php @@ -55,6 +55,8 @@ class Wiaas_Authentication { return $user_id; } + return $user_id; + $user = new WP_User($user_id); if (empty($user->roles)) {