1405/02/29-kashkool

This commit is contained in:
2026-05-19 20:53:52 +03:30
parent 80e573ecad
commit 400178591e
20 changed files with 82 additions and 82 deletions
+4 -4
View File
@@ -30,11 +30,11 @@ export async function authenticateWithFingerprint() {
const createOptions = {
challenge,
rp: { name: 'ghatreh' },
rp: { name: 'kashkol' },
user: {
id: Uint8Array.from('user-id', c => c.charCodeAt(0)),
name: 'Ghatreh',
displayName: 'Ghatreh'
name: 'Kashkol',
displayName: 'Kashkol'
},
pubKeyCredParams: [{ type: 'public-key', alg: -7 }],
authenticatorSelection: {
@@ -52,7 +52,7 @@ export async function authenticateWithFingerprint() {
const credentialId = btoa(String.fromCharCode(...new Uint8Array(credential.rawId)))
// بازیابی توکن از localStorage
const token = localStorage.getItem('ghatreh_app_token')
const token = localStorage.getItem('kashkol_app_token')
if (!token) {
console.warn('توکن پیدا نشد، عملیات متوقف شد.')
+1 -1
View File
@@ -95,7 +95,7 @@ export function useProduct(product: Ref<Product> | Product) {
if (temp && temp.file) {
return temp.file.src
}
return 'Ghatreh'
return 'kashkol'
}
const collection = computed(() => {