From 98ef85cb6e68bd29d9a5a268558f6508dcb17954 Mon Sep 17 00:00:00 2001 From: wuweixin Date: Sat, 28 Mar 2020 14:29:14 +0800 Subject: [PATCH] Update NeupassProvider.php --- src/NeupassProvider.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NeupassProvider.php b/src/NeupassProvider.php index 905770b..f0e6125 100644 --- a/src/NeupassProvider.php +++ b/src/NeupassProvider.php @@ -35,6 +35,7 @@ public function user() return (new User)->map([ 'id' => phpCAS::getUser(), 'name' => phpCAS::getAttribute('USER_NAME'), + 'email' => phpCAS::getAttribute('EMAIL'), ]); } -} \ No newline at end of file +}