Skip to content

Commit a885416

Browse files
committed
add email in login feedback
1 parent f7ac088 commit a885416

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

controllers/SiteController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ public function actionLogin()
106106
'message' => 'Login Succeed, save your token',
107107
'data' => [
108108
'id' => $user->username,
109-
'token' => $user->auth_key
109+
'token' => $user->auth_key,
110+
'email' => $user['email'],
110111
]
111112
];
112113
} else {

0 commit comments

Comments
 (0)