Sync shared snapshot from 9589d07
This commit is contained in:
1 parent
49e3c7d561
commit
d3fff0a495
7 files changed
+1055
-560
No files matched your search
@@ -139,13 +139,6 @@
|
||||
auth = { ...auth, user: data.user, setupRequired: false, loading: false, error: null }
|
||||
}
|
||||
|
||||
const requestReset = () => post('/auth/reset/request')
|
||||
|
||||
async function confirmReset(code: string) {
|
||||
await post('/auth/reset/confirm', { code })
|
||||
window.location.reload()
|
||||
}
|
||||
|
||||
async function logout() {
|
||||
try {
|
||||
await post('/auth/logout')
|
||||
@@ -199,8 +192,6 @@
|
||||
error={auth.error || ''}
|
||||
onLogin={login}
|
||||
onSetup={setup}
|
||||
onRequestReset={requestReset}
|
||||
onConfirmReset={confirmReset}
|
||||
/>
|
||||
{:else}
|
||||
<div class="sc-root sc-app-shell min-h-screen bg-bg text-fg mediacollection-shell">
|
||||
|
||||
Reference in new issue
Block a user