|
@@ -43,7 +43,7 @@ Template.userFormsLayout.helpers({
|
|
isCas() {
|
|
isCas() {
|
|
return Meteor.settings.public &&
|
|
return Meteor.settings.public &&
|
|
Meteor.settings.public.cas &&
|
|
Meteor.settings.public.cas &&
|
|
- Meteor.settings.public.cas.loginUrl
|
|
|
|
|
|
+ Meteor.settings.public.cas.loginUrl;
|
|
},
|
|
},
|
|
|
|
|
|
casSignInLabel() {
|
|
casSignInLabel() {
|
|
@@ -59,7 +59,7 @@ Template.userFormsLayout.events({
|
|
},
|
|
},
|
|
'click button#cas'() {
|
|
'click button#cas'() {
|
|
Meteor.loginWithCas(function() {
|
|
Meteor.loginWithCas(function() {
|
|
- if (FlowRouter.getRouteName() == 'atSignIn') {
|
|
|
|
|
|
+ if (FlowRouter.getRouteName() ==== 'atSignIn') {
|
|
FlowRouter.go('/');
|
|
FlowRouter.go('/');
|
|
}
|
|
}
|
|
});
|
|
});
|