Show logging in toast after button push

This commit is contained in:
RemixDev 2021-10-28 15:15:45 +02:00
parent 141e5c7d68
commit ca3c10b295

View File

@ -1007,6 +1007,8 @@ export default {
const { email } = fromLoginForm('email') const { email } = fromLoginForm('email')
const { password } = fromLoginForm('password') const { password } = fromLoginForm('password')
toast(this.$t('toasts.loggingIn'), 'loading', false, 'login-toast')
const { accessToken, arl } = await postToServer('loginWithCredentials', { const { accessToken, arl } = await postToServer('loginWithCredentials', {
email, email,
password, password,