Skip to content

Commit

Permalink
Update AuthController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ufaboy committed Dec 24, 2023
1 parent f9147d2 commit b60227e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/api/controllers/AuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function actionLogin() {
return [
'username' => $user->username,
'role' => $user->role,
'token' => $user->getToken()
'access_token' => $user->getToken()
];
}
}
Expand Down

0 comments on commit b60227e

Please sign in to comment.