X-Git-Url: http://git.squeep.com/?p=squeep-indie-auther;a=blobdiff_plain;f=src%2Ftemplate%2Fauthorization-error-html.js;fp=src%2Ftemplate%2Fauthorization-error-html.js;h=16e3c4870bdb300d9ef031d55a628e40d2f2f205;hp=ee2e4f207874775563fa78a6b99404fcf8e24402;hb=fba42a499fe1af051b0982c1f3e8b3873c9ed2fb;hpb=e8dccf76ec2776f07eddd1ce2f1c4fc150a6f790 diff --git a/src/template/authorization-error-html.js b/src/template/authorization-error-html.js index ee2e4f2..16e3c48 100644 --- 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'); - +const { sessionNavLinks } = require('@squeep/authentication-module'); /** * @@ -16,11 +16,15 @@ const th = require('./template-helper'); * @returns {String} */ module.exports = (ctx, options) => { + const pagePathLevel = 0; const htmlOptions = { + pageIdentifier: 'authorizationError', 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