You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, maybe this is not an issue but I coud not find another place to ask for help, there is a way to add validation depending on a session variable or something like that?
for example:
let color;
if(/* Here a condition like req.session.mycondition * /)
color = 'red'
else
color = 'blue'
module.exports = { color }
Thanks in advance
The text was updated successfully, but these errors were encountered:
Maybe I am worng but I don´t think so, I mean I need a variable that is on my node session for example
app.get('/',function(req,res){
myvar=req.session.myvar;
}
I understand that maybe this is not directly related with your library (I m not expert on node js) but is the way I'm trying to implementing it, could you help me please?
Hello, maybe this is not an issue but I coud not find another place to ask for help, there is a way to add validation depending on a session variable or something like that?
for example:
let color;
if(/* Here a condition like req.session.mycondition * /)
color = 'red'
else
color = 'blue'
module.exports = { color }
Thanks in advance
The text was updated successfully, but these errors were encountered: