@@ -209,7 +209,7 @@ exports.setup = function(app) {
209
209
app . get ( '/sign_in' , function ( req , res ) {
210
210
renderCachableView ( req , res , 'dialog.ejs' , {
211
211
title : _ ( 'A Better Way to Sign In' ) ,
212
- layout : 'dialog_layout .ejs' ,
212
+ layout : 'layout .ejs' ,
213
213
useJavascript : true ,
214
214
measureDomLoading : config . get ( 'measure_dom_loading' ) ,
215
215
production : config . get ( 'use_minified_resources' ) ,
@@ -219,15 +219,16 @@ exports.setup = function(app) {
219
219
220
220
app . get ( '/communication_iframe' , function ( req , res ) {
221
221
renderCachableView ( req , res , 'communication_iframe.ejs' , {
222
- layout : false ,
222
+ title : _ ( 'Persona communication iframe' ) ,
223
+ layout : 'layout.ejs' ,
223
224
production : config . get ( 'use_minified_resources' )
224
225
} ) ;
225
226
} ) ;
226
227
227
228
app . get ( "/unsupported_dialog" , function ( req , res ) {
228
229
renderCachableView ( req , res , 'unsupported_dialog.ejs' , {
229
230
title : _ ( 'Unsupported Browser' ) ,
230
- layout : 'dialog_layout .ejs' ,
231
+ layout : 'layout .ejs' ,
231
232
useJavascript : false ,
232
233
// without the javascript bundle, there is no point in measuring the
233
234
// window opened time.
@@ -239,7 +240,7 @@ exports.setup = function(app) {
239
240
app . get ( "/unsupported_dialog_without_watch" , function ( req , res ) {
240
241
renderCachableView ( req , res , 'unsupported_dialog_without_watch.ejs' , {
241
242
title : _ ( 'Unsupported Browser without Watch' ) ,
242
- layout : 'dialog_layout .ejs' ,
243
+ layout : 'layout .ejs' ,
243
244
useJavascript : false ,
244
245
// without the javascript bundle, there is no point in measuring the
245
246
// window opened time.
@@ -251,7 +252,7 @@ exports.setup = function(app) {
251
252
app . get ( "/cookies_disabled" , function ( req , res ) {
252
253
renderCachableView ( req , res , 'cookies_disabled.ejs' , {
253
254
title : _ ( 'Cookies Are Disabled' ) ,
254
- layout : 'dialog_layout .ejs' ,
255
+ layout : 'layout .ejs' ,
255
256
useJavascript : false ,
256
257
// without the javascript bundle, there is no point in measuring the
257
258
// window opened time.
@@ -263,23 +264,25 @@ exports.setup = function(app) {
263
264
// Used for a relay page for communication.
264
265
app . get ( "/relay" , function ( req , res ) {
265
266
renderCachableView ( req , res , 'relay.ejs' , {
266
- layout : false ,
267
- production : config . get ( 'use_minified_resources' )
267
+ layout : 'layout.ejs' ,
268
+ production : config . get ( 'use_minified_resources' ) ,
269
+ title : _ ( 'Persona relay page' )
268
270
} ) ;
269
271
} ) ;
270
272
271
273
// Native IdP Support
272
274
app . get ( '/provision' , function ( req , res ) {
273
275
renderCachableView ( req , res , 'provision.ejs' , {
274
- layout : false ,
275
- production : config . get ( 'use_minified_resources' )
276
+ layout : 'layout.ejs' ,
277
+ production : config . get ( 'use_minified_resources' ) ,
278
+ title : _ ( 'Persona provisioning page' )
276
279
} ) ;
277
280
} ) ;
278
281
279
282
app . get ( '/auth' , function ( req , res ) {
280
283
renderCachableView ( req , res , 'dialog.ejs' , {
281
284
title : _ ( 'A Better Way to Sign In' ) ,
282
- layout : 'authenticate_layout .ejs' ,
285
+ layout : 'layout .ejs' ,
283
286
useJavascript : true ,
284
287
measureDomLoading : config . get ( 'measure_dom_loading' ) ,
285
288
production : config . get ( 'use_minified_resources' ) ,
0 commit comments