Fixing some small registration and login isues

This commit is contained in:
Brian McGonagill 2025-12-08 14:54:14 -06:00
parent 5aa2feff7b
commit 9ed5089508
8 changed files with 66 additions and 44 deletions

View file

@ -1,3 +1,11 @@
<template name="home">
<h1>This is Home.</h1>
{{#if currentUser}}
<h1>This is Home.</h1>
{{else}}
{{#if $eq loginOrReg 'login'}}
{{> login}}
{{else}}
{{> reg}}
{{/if}}
{{/if}}
</template>

View file

@ -1,5 +1,11 @@
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
Template.home.helpers({
loginOrReg: function() {
return Session.get("loginOrReg");
},
});
Template.home.events({
});