mirror of
https://github.com/wekan/wekan.git
synced 2026-02-26 18:04:06 +01:00
- Remove CAS from Wekan stable, because it does not work correctly.
CAS developent continues at edge. Thanks to xet7 ! Related #1925
This commit is contained in:
parent
6b86b3b6e7
commit
5923585584
6 changed files with 0 additions and 28 deletions
|
|
@ -18,9 +18,6 @@ template(name="userFormsLayout")
|
|||
img(src="{{pathFor '/wekan-logo.png'}}" alt="Wekan")
|
||||
section.auth-dialog
|
||||
+Template.dynamic(template=content)
|
||||
if isCas
|
||||
.at-form
|
||||
button#cas(class='at-btn submit' type='submit') {{casSignInLabel}}
|
||||
div.at-form-lang
|
||||
select.select-lang.js-userform-set-language
|
||||
each languages
|
||||
|
|
|
|||
|
|
@ -39,16 +39,6 @@ Template.userFormsLayout.helpers({
|
|||
const curLang = T9n.getLanguage() || 'en';
|
||||
return t9nTag === curLang;
|
||||
},
|
||||
|
||||
isCas() {
|
||||
return Meteor.settings.public &&
|
||||
Meteor.settings.public.cas &&
|
||||
Meteor.settings.public.cas.loginUrl;
|
||||
},
|
||||
|
||||
casSignInLabel() {
|
||||
return TAPi18n.__('casSignIn', {}, T9n.getLanguage() || 'en');
|
||||
},
|
||||
});
|
||||
|
||||
Template.userFormsLayout.events({
|
||||
|
|
@ -57,13 +47,6 @@ Template.userFormsLayout.events({
|
|||
T9n.setLanguage(i18nTagToT9n(i18nTag));
|
||||
evt.preventDefault();
|
||||
},
|
||||
'click button#cas'() {
|
||||
Meteor.loginWithCas(function() {
|
||||
if (FlowRouter.getRouteName() === 'atSignIn') {
|
||||
FlowRouter.go('/');
|
||||
}
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
Template.defaultLayout.events({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue