Fix Cypress tests and add a different welcome message when coming from

registration

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-10-15 17:33:02 +02:00
parent 5ebbb57d0e
commit 3c635ce4b4
7 changed files with 24 additions and 12 deletions

View File

@@ -108,6 +108,7 @@ export default class Register extends Vue {
});
if (data) {
this.validationSent = true;
window.localStorage.setItem('new-registered-user', 'yes');
if (this.userAlreadyActivated) {
await changeIdentity(this.$apollo.provider.defaultClient, data.registerPerson);