7152-devToTest_2414 #262

Merged
alexm merged 226 commits from 7152-devToTest_2414 into test 2024-03-28 08:20:24 +00:00
1 changed files with 8 additions and 1 deletions
Showing only changes of commit bddfe8f9d7 - Show all commits

View File

@ -30,8 +30,15 @@ async function onSubmit() {
const { data } = await axios.post('Accounts/login', params);
if (!data) return;
const {
data: { multimediaToken },
} = await axios.get('VnUsers/ShareToken', {
headers: { Authorization: data.token },
});
await session.login(data.token, data.multimediaToken.id, keepLogin.value);
if (!multimediaToken) return;
await session.login(data.token, multimediaToken.id, keepLogin.value);
quasar.notify({
message: t('login.loginSuccess'),