Closes issue: OwlBoard/backend#39
Still awaiting the check auth endpoint, the code only acts on a 401 response. That means that it currently will not detect if an account is expired.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<script>
|
||||
import Header from '$lib/navigation/header.svelte';
|
||||
import LogoutButton from '$lib/navigation/LogoutButton.svelte';
|
||||
import Header from '$lib/navigation/header.svelte';
|
||||
import Loading from '$lib/navigation/loading.svelte';
|
||||
import Nav from '$lib/navigation/nav.svelte';
|
||||
import { uuid } from '$lib/stores/uuid.js';
|
||||
@@ -45,6 +46,8 @@
|
||||
{:else if data[0].domain != 'User not Found'}
|
||||
<p class="api_response">Registration Domain: {data[0]['domain']}</p>
|
||||
<p class="api_response">Access Time: {data[0]['atime']}</p>
|
||||
<LogoutButton />
|
||||
<p>Clicking the logout button will delete your data from your browser. You will then be able to make a new account, your old account will remain inactive and be deleted after 90 days.</p>
|
||||
{:else}
|
||||
<p class="api_response">You are not registered, we don't have any data stored.</p>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user