From 8a32731e4d3772e79b3de35185de3454663be52d Mon Sep 17 00:00:00 2001
From: taehoon
Date: Wed, 19 Jun 2019 23:20:14 -0400
Subject: use clientSecret in login flow
---
src/components/login_form/login_form.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'src/components/login_form')
diff --git a/src/components/login_form/login_form.js b/src/components/login_form/login_form.js
index 93214646..4a5b1965 100644
--- a/src/components/login_form/login_form.js
+++ b/src/components/login_form/login_form.js
@@ -26,9 +26,10 @@ const LoginForm = {
this.isTokenAuth ? this.submitToken() : this.submitPassword()
},
submitToken () {
- const { clientId } = this.oauth
+ const { clientId, clientSecret } = this.oauth
const data = {
clientId,
+ clientSecret,
instance: this.instance.server,
commit: this.$store.commit
}
--
cgit v1.2.3-70-g09d2