Tuesday 9 May 2017

user have specific usernames in node.js

i want to see if the currentUser that is logged in has a specific username like admin

if ( currentUser.username === "admin") {
//some thing happen.
}

but my code doesn't work



via fanis theologiths

No comments:

Post a Comment