LT-103: Authenticate via LDAP

This commit is contained in:
Aysel Afsar committed 2016-03-22 15:43:06 -04:00
1 parent beaa0d4e65
commit 3c60a6dda1
11 files changed
+559 -34

No files matched your search

+2 -2
View File
@@ -36,7 +36,7 @@ var routerOptions = {
Router.route('/', function() {
// Check user is logged in
if(Meteor.user() && Meteor.userId()) {
if (!Meteor.user().emails[0].verified && verifyEmail) {
if (verifyEmail && Meteor.user().emails && !Meteor.user().emails[0].verified) {
this.render('emailVerification', routerOptions);
} else {
this.render('worklist', routerOptions);
@@ -50,7 +50,7 @@ Router.route('/', function() {
Router.route('/worklist', function() {
// Check user is logged in
if(Meteor.user() && Meteor.userId()) {
if (!Meteor.user().emails[0].verified && verifyEmail) {
if (verifyEmail && Meteor.user().emails && !Meteor.user().emails[0].verified) {
this.render('emailVerification', routerOptions);
} else {
this.render('worklist', routerOptions);