LT-160: Create user accounts and require login for access by using active-entry package
This commit is contained in:
1 parent
4e38bbfa0b
commit
59a6905eb0
5 files changed
+47
-5
No files matched your search
@@ -0,0 +1,13 @@
|
||||
Template.layoutLesionTracker.events({
|
||||
'click #logoutButton': function() {
|
||||
Meteor.logout(function(){
|
||||
Router.go('/entrySignIn');
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Template.layoutLesionTracker.helpers({
|
||||
'fullName': function() {
|
||||
return Meteor.user().profile.fullName;
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user