From 4de0b199ff193d11cb0c45ffc15584bb464bbdc4 Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Wed, 12 Jan 2022 11:27:45 +0300 Subject: [PATCH] fix array key --- inc/lib/CAPI.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/lib/CAPI.class.php b/inc/lib/CAPI.class.php index b8fcfce..3eb7e2c 100644 --- a/inc/lib/CAPI.class.php +++ b/inc/lib/CAPI.class.php @@ -10,7 +10,7 @@ class CAPI { public static function getUserInfo() { global $USER; - unset($USER['pass']); + unset($USER['password']); return $USER; } } \ No newline at end of file