We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46d7f17 commit ea3845cCopy full SHA for ea3845c
1 file changed
index.js
@@ -108,11 +108,6 @@ function getUserRole(session) {
108
return 'user';
109
};
110
111
-// function setUser(newUser = {}) {
112
-// if (!newUser.id) return user = {};
113
-// user = newUser;
114
-// };
115
-
116
app.get('/', async (req, res) => {
117
if (!on) return res.render('off', { tenant, title: 'Activation - ' });
118
if (!req.session) return res.render('session', { tenant, title: 'Session - ' });
@@ -170,6 +165,5 @@ module.exports = {
170
165
routes: app,
171
166
init,
172
167
activate,
173
- on: activate,
174
- // setUser
168
+ on: activate
175
169
0 commit comments