1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

F #3951: login with lower and upper (#917)

Signed-off-by: Jorge Lobo <jlobo@opennebula.io>

Co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
Jorge Miguel Lobo Escalona 2021-03-04 14:04:39 +01:00 committed by GitHub
parent a1c51f71ce
commit 85fa457c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,16 +59,14 @@ const auth = (req, res, next, connect) => {
(req && (req &&
from.postBody && from.postBody &&
req[from.postBody] && req[from.postBody] &&
req[from.postBody].user && req[from.postBody].user) ||
req[from.postBody].user.toLowerCase()) ||
'' ''
) )
setPass( setPass(
(req && (req &&
from.postBody && from.postBody &&
req[from.postBody] && req[from.postBody] &&
req[from.postBody].token && req[from.postBody].token) ||
req[from.postBody].token.toLowerCase()) ||
'' ''
) )
setType( setType(