projects
/
squeep-indie-auther
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update depedencies, changes to support updated authentication-module
[squeep-indie-auther]
/
src
/
template
/
authorization-error-html.js
diff --git
a/src/template/authorization-error-html.js
b/src/template/authorization-error-html.js
index ee2e4f207874775563fa78a6b99404fcf8e24402..16e3c4870bdb300d9ef031d55a628e40d2f2f205 100644
(file)
--- a/
src/template/authorization-error-html.js
+++ b/
src/template/authorization-error-html.js
@@
-1,7
+1,7
@@
'use strict';
const th = require('./template-helper');
'use strict';
const th = require('./template-helper');
-
+const { sessionNavLinks } = require('@squeep/authentication-module');
/**
*
/**
*
@@
-16,11
+16,15
@@
const th = require('./template-helper');
* @returns {String}
*/
module.exports = (ctx, options) => {
* @returns {String}
*/
module.exports = (ctx, options) => {
+ const pagePathLevel = 0;
const htmlOptions = {
const htmlOptions = {
+ pageIdentifier: 'authorizationError',
pageTitle: options.manager.pageTitle,
logoUrl: options.manager.logoUrl,
footerEntries: options.manager.footerEntries,
errorContent: ctx.errorContent || ['Unknown Error'],
};
pageTitle: options.manager.pageTitle,
logoUrl: options.manager.logoUrl,
footerEntries: options.manager.footerEntries,
errorContent: ctx.errorContent || ['Unknown Error'],
};
- return th.htmlPage(0, ctx, htmlOptions, []);
+ th.navLinks(pagePathLevel, ctx, htmlOptions);
+ sessionNavLinks(pagePathLevel, ctx, htmlOptions);
+ return th.htmlPage(pagePathLevel, ctx, htmlOptions, []);
};
\ No newline at end of file
};
\ No newline at end of file