mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 19:53:21 +02:00
Login page implementation
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { defineStore } from "pinia";
|
||||
import { ref } from "vue";
|
||||
|
||||
export interface jwtFormat {
|
||||
code: number,
|
||||
expire: string,
|
||||
token: string
|
||||
}
|
||||
|
||||
export const useAuthStore = defineStore("AuthStore", () => {
|
||||
const expire = ref("")
|
||||
const token = ref("")
|
||||
|
||||
return { expire, token }
|
||||
})
|
||||
Reference in New Issue
Block a user