mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
Signed-off-by: Jorge Lobo <jlobo@opennebula.io> Co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
parent
a1c51f71ce
commit
85fa457c10
@ -59,16 +59,14 @@ const auth = (req, res, next, connect) => {
|
||||
(req &&
|
||||
from.postBody &&
|
||||
req[from.postBody] &&
|
||||
req[from.postBody].user &&
|
||||
req[from.postBody].user.toLowerCase()) ||
|
||||
req[from.postBody].user) ||
|
||||
''
|
||||
)
|
||||
setPass(
|
||||
(req &&
|
||||
from.postBody &&
|
||||
req[from.postBody] &&
|
||||
req[from.postBody].token &&
|
||||
req[from.postBody].token.toLowerCase()) ||
|
||||
req[from.postBody].token) ||
|
||||
''
|
||||
)
|
||||
setType(
|
||||
|
Loading…
Reference in New Issue
Block a user