From 1fd019d2766e790f0ccb5fce99c3c5770e2bffe5 Mon Sep 17 00:00:00 2001 From: chiayin Date: Thu, 19 Oct 2023 10:12:36 +0800 Subject: [PATCH] Oauth: add grant_type. --- src/stores/login.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stores/login.js b/src/stores/login.js index 103c77e..84225d0 100644 --- a/src/stores/login.js +++ b/src/stores/login.js @@ -7,6 +7,7 @@ export default defineStore('loginStore', { // state, actions, getters state: () => ({ auth: { + grant_type: 'password', username: '', password: '', },