Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Com 1043 fix #344

Merged
merged 3 commits into from
Apr 3, 2020
Merged

Com 1043 fix #344

merged 3 commits into from
Apr 3, 2020

Conversation

jctrebalag
Copy link
Contributor

@jctrebalag jctrebalag commented Apr 3, 2020

  • J'ai verifié la fonctionnalite sur mobile - np

  • Périmetre interface : client

  • Cas d'usage : authentification et changement de mot de passe

pour en savoir plus: vuejs/vue-router#2881 (comment)

@@ -16,7 +16,7 @@ export const logInMixin = {
await this.$store.dispatch('main/getLoggedUser', this.$q.cookies.get('user_id'));

if (this.$route.query.from) return this.$router.replace({ path: this.$route.query.from });
return this.$router.replace('/');
return this.$router.push('/').catch(e => {});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pourquoi est-ce que tu remplaces le replace par un push ?

@cmolle cmolle merged commit 3c83cd9 into dev Apr 3, 2020
@cmolle cmolle deleted the COM-1043-fix branch April 3, 2020 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants