render after saving settings
This commit is contained in:
parent
d440b7f3a7
commit
0b77e595e6
1 changed files with 3 additions and 3 deletions
|
|
@ -30,14 +30,14 @@
|
|||
res.render('admin/plugins/sso-saml', {});
|
||||
}
|
||||
|
||||
params.router.get('/admin/plugins/sso-saml', params.middleware.admin.buildHeader, render);
|
||||
params.router.get('/api/admin/plugins/sso-saml', render);
|
||||
|
||||
meta.settings.get('sso_saml', function(err, options) {
|
||||
console.log('[sso-saml] got options', options);
|
||||
master_config = options;
|
||||
});
|
||||
|
||||
params.router.get('/admin/plugins/sso-saml', params.middleware.admin.buildHeader, render);
|
||||
params.router.get('/api/admin/plugins/sso-saml', render);
|
||||
|
||||
if (master_config.idp_entry_point && master_config.callback_path && master_config.issuer && master_config.metadata) {
|
||||
samlObj = new passportSAML({
|
||||
path: master_config.callback_path,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue