Skip to content

Commit fe178ea

Browse files
committed
Removing more authentication code.
1 parent d33a8c6 commit fe178ea

File tree

1 file changed

+4
-1
lines changed
  • coder-apps/common/localauth/app

1 file changed

+4
-1
lines changed

coder-apps/common/localauth/app/app.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,15 @@ exports.configure_handler = function( req, res ) {
193193
tmplvars['device_name'] = exports.settings.device_name;
194194
tmplvars['page_mode'] = "configure";
195195

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
197198
if ( exports.isAuthenticated(req) || !exports.hasPassword() ) {
198199
res.render( exports.settings.viewpath + '/index', tmplvars );
199200
} else {
200201
res.redirect('/app/auth/login');
201202
}
203+
*/
204+
res.render( exports.settings.viewpath + '/index', tmplvars );
202205
};
203206

204207
exports.api_devicename_get_handler = function( req, res ) {

0 commit comments

Comments
 (0)