forked from mirrors/homebox
feat: change auth to use cookies (#301)
* frontend cookie implementation * accept cookies for authentication * remove auth store * add self attr
This commit is contained in:
parent
bd321af29f
commit
12975ce26e
9 changed files with 204 additions and 86 deletions
|
@ -1,6 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import { Detail } from "~~/components/global/DetailsSection/types";
|
||||
import { useAuthStore } from "~~/stores/auth";
|
||||
import { themes } from "~~/lib/data/themes";
|
||||
import { currencies, Currency } from "~~/lib/data/currency";
|
||||
|
||||
|
@ -79,7 +78,7 @@
|
|||
|
||||
const { setTheme } = useTheme();
|
||||
|
||||
const auth = useAuthStore();
|
||||
const auth = useAuthContext();
|
||||
|
||||
const details = computed(() => {
|
||||
return [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue