Работает аутентификация на разных страницах, но не в соседних вкладках

This commit is contained in:
FEARmeR 2023-05-19 14:35:04 +01:00
parent 4b9f81c484
commit 587bf159c5

View File

@ -122,8 +122,10 @@ export default {
<div v-else> <div v-else>
<!-- This will be displayed if the user is not authenticated --> <!-- This will be displayed if the user is not authenticated -->
<p>Я вас не знаю, идите нафиг</p> <p>Ты с какого района?</p>
</div>
<div> <div>
<input v-model="username" type="text" placeholder="Имя пользователя" /> <input v-model="username" type="text" placeholder="Имя пользователя" />
@ -142,6 +144,8 @@ export default {
> >
Войти Войти
</button> </button>
</div>
<button @click="logout">Logout</button> <button @click="logout">Logout</button>
</div> </div>