Client - display if oauth client does not exist when authorizing
This commit is contained in:
parent
22c8105ea6
commit
1f26b69cba
@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="authorize-oauth2-app" v-if="client.client_id">
|
<div id="authorize-oauth2-app">
|
||||||
|
<div v-if="client.client_id">
|
||||||
<h1 id="authorize-oauth2-title">
|
<h1 id="authorize-oauth2-title">
|
||||||
<i18n-t keypath="oauth2.AUTHORIZE_APP">
|
<i18n-t keypath="oauth2.AUTHORIZE_APP">
|
||||||
<router-link :to="{ name: 'UserApp', params: { id: client.id } }">
|
<router-link :to="{ name: 'UserApp', params: { id: client.id } }">
|
||||||
@ -29,6 +30,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
<p class="no-app">{{ $t('oauth2.NO_APP') }}</p>
|
||||||
|
<button @click="$router.push('/profile/apps')">
|
||||||
|
{{ $t('buttons.BACK') }}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
Loading…
Reference in New Issue
Block a user