Skip to content

Commit

Permalink
Merge pull request #50 from tituspijean/v1.0.0
Browse files Browse the repository at this point in the history
Compatibility with v1.0
  • Loading branch information
tituspijean authored Jun 5, 2021
2 parents dee196b + d519f6c commit 6f8b5ae
Show file tree
Hide file tree
Showing 11 changed files with 4,031 additions and 4,241 deletions.
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"source": "https://github.com/tituspijean/flarum-ext-auth-ldap"
},
"require": {
"flarum/core": "0.1.0-beta.16",
"flarum/core": "^1.0",
"directorytree/ldaprecord": "v2.4.2"
},
"autoload": {
Expand All @@ -30,6 +30,5 @@
"color": "#fff"
}
}
},
"minimum-stability": "beta"
}
}
8 changes: 4 additions & 4 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
->js(__DIR__.'/js/dist/forum.js')
->css(__DIR__.'/less/forum.less'),
(new Extend\Routes('forum'))
->post('/auth/ldap', 'auth.ldap', Controllers\LDAPAuthController::class)
->get('/auth/ldap', 'auth.ldap', Controllers\LDAPAuthController::class),
->post('/auth/ldap', 'auth.ldap.post', Controllers\LDAPAuthController::class)
->get('/auth/ldap', 'auth.ldap.get', Controllers\LDAPAuthController::class),
(new Extend\Settings)
->serializeToForum('onlyUseLDAP', 'tituspijean-auth-ldap.onlyUse')
->serializeToForum('LDAP_method_name', 'tituspijean-auth-ldap.method_name'),
->serializeToForum('tituspijean-auth-ldap.onlyUse', 'tituspijean-auth-ldap.onlyUse', 'boolVal', false)
->serializeToForum('tituspijean-auth-ldap.method_name', 'tituspijean-auth-ldap.method_name', 'strVal', 'LDAP'),
];
2 changes: 1 addition & 1 deletion js/dist/admin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/dist/admin.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dist/forum.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/dist/forum.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 6f8b5ae

Please sign in to comment.