File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
coder-apps/common/localauth/app Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -193,12 +193,15 @@ exports.configure_handler = function( req, res ) {
193
193
tmplvars [ 'device_name' ] = exports . settings . device_name ;
194
194
tmplvars [ 'page_mode' ] = "configure" ;
195
195
196
- //only allow this step if they are authenticated or have not yet set a password
196
+ /*
197
+ //only allow this step if they are authenticated or have not yet set a password
197
198
if ( exports.isAuthenticated(req) || !exports.hasPassword() ) {
198
199
res.render( exports.settings.viewpath + '/index', tmplvars );
199
200
} else {
200
201
res.redirect('/app/auth/login');
201
202
}
203
+ */
204
+ res . render ( exports . settings . viewpath + '/index' , tmplvars ) ;
202
205
} ;
203
206
204
207
exports . api_devicename_get_handler = function ( req , res ) {
You can’t perform that action at this time.
0 commit comments