diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-19 12:42:35 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-19 12:42:42 +0300 |
commit | f520a6bceb1b7e04059e4d16478c509f8c740581 (patch) | |
tree | a33007f99a3bcdfa0ff8bf8db5de544ddb5d14cf /apps/oauth2/src | |
parent | 1ff3f578980a29aee8d952e4cd7df786e955acd7 (diff) |
Fix redirctUri
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/oauth2/src')
-rw-r--r-- | apps/oauth2/src/App.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/oauth2/src/App.vue b/apps/oauth2/src/App.vue index 6bbd90db525..0b502c1da02 100644 --- a/apps/oauth2/src/App.vue +++ b/apps/oauth2/src/App.vue @@ -46,7 +46,7 @@ <h3>{{ t('oauth2', 'Add client') }}</h3> <form @submit.prevent="addClient"> <input type="text" id="name" name="name" :placeholder="t('oauth2', 'Name')" v-model="newClient.name"> - <input type="url" id="redirectUri" name="redirectUri" :placeholder="t('oauth2', 'Redirection URI')" v-model="newClient.redirctUri"> + <input type="url" id="redirectUri" name="redirectUri" :placeholder="t('oauth2', 'Redirection URI')" v-model="newClient.redirectUri"> <input type="submit" class="button" :value="t('oauth2', 'Add')"> </form> </div> @@ -66,7 +66,7 @@ export default { clients: [], newClient: { name: '', - redirctUri: '' + redirectUri: '' } }; }, @@ -97,14 +97,14 @@ export default { OC.generateUrl('apps/oauth2/clients'), { name: this.newClient.name, - redirectUri: this.newClient.redirctUri + redirectUri: this.newClient.redirectUri }, tokenHeaders) .then((response) => { this.clients.push(response.data) this.newClient.name = ''; - this.newClient.redirctUri = ''; + this.newClient.redirectUri = ''; } ); } |