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
{{ message }}
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
I want to register different roles, except the admin. Can i use in
users.authentication.server.controller.js
like
// For security measurement we remove the roles from the req.body object
if (req.body.roles === 'admin') {
console.log('NO Chances')
var roles = req.body.roles;
};
?
The text was updated successfully, but these errors were encountered:
I want to register different roles, except the admin. Can i use in
like
?
The text was updated successfully, but these errors were encountered: