mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-04 13:29:13 -04:00
fix
This commit is contained in:
parent
6892b68819
commit
c6ca07e7a0
1 changed files with 2 additions and 2 deletions
|
@ -7,12 +7,12 @@ const password = ref('');
|
||||||
const header = computed(() => `Authorization: Basic ${textToBase64(`${username.value}:${password.value}`)}`);
|
const header = computed(() => `Authorization: Basic ${textToBase64(`${username.value}:${password.value}`)}`);
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
|
||||||
const { copy } = useCopy({ source: header, text: t('tools.basic-auth-generator.copied') });
|
const { copy } = useCopy({ source: header, text: 't('tools.basic-auth-generator.copied')'' });
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<c-input-text v-model:value="username" label="t('tools.basic-auth-generator.username')" placeholder="t('tools.basic-auth-generator.yourusername')" clearable raw-text mb-5 />
|
<c-input-text v-model:value="username" label=t('tools.basic-auth-generator.username') placeholder="t('tools.basic-auth-generator.yourusername')" clearable raw-text mb-5 />
|
||||||
<c-input-text
|
<c-input-text
|
||||||
v-model:value="password"
|
v-model:value="password"
|
||||||
label="t('tools.basic-auth-generator.password')"
|
label="t('tools.basic-auth-generator.password')"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue