mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01:00
parent
d0ba89d913
commit
f190a102f9
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ Template.connectionMethod.onCreated(function() {
|
||||||
const content = $('.at-form-authentication');
|
const content = $('.at-form-authentication');
|
||||||
// OAuth method is a separate button, so ignore it in the count
|
// OAuth method is a separate button, so ignore it in the count
|
||||||
const formAuthenticationMethods = this.authenticationMethods.get().filter((method) => method.value !== 'oauth2');
|
const formAuthenticationMethods = this.authenticationMethods.get().filter((method) => method.value !== 'oauth2');
|
||||||
if (formAuthenticationMethods > 1) {
|
if (formAuthenticationMethods.length > 1) {
|
||||||
content.show();
|
content.show();
|
||||||
} else {
|
} else {
|
||||||
content.hide();
|
content.hide();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue