Commit b7e55709 authored by quentin.vrel's avatar quentin.vrel

redirection correction

parent b0af2b3a
......@@ -102,7 +102,8 @@ export default {
let response = await request;
if (response.ok){
this.$router.push('lobby');
alert('Le compte a été créé.')
this.$router.push('/');
}else if(response.status==422){
// Test if Email exist/Pseudo exist
this.showPseudoError = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment