Add login modal experience (#16)
This commit is contained in:
1 parent
d536508293
commit
ccae7257e5
11 files changed
+95
-20
No files matched your search
@@ -250,8 +250,7 @@ export default defineComponent({
|
||||
},
|
||||
distributionLink() {
|
||||
const origin = window.location.origin;
|
||||
const newOrigin = origin.replace('hub.', 'auth.');
|
||||
return `${newOrigin}/auth/login?inviter_id=${this.$store.getters.user.id}&redirect=${origin}`;
|
||||
return `${origin}?inviter_id=${this.$store.getters.user.id}`;
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
||||
Reference in new issue
Block a user