mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-05 21:57:24 +03:00
Fix token for OneGate (size must be 32)
This commit is contained in:
parent
0888ae4810
commit
46725391be
@ -107,7 +107,7 @@ module OneGateCloudAuth
|
||||
|
||||
def decrypt(token_password, data)
|
||||
@cipher.decrypt
|
||||
@cipher.key = token_password
|
||||
@cipher.key = token_password[0..31]
|
||||
|
||||
rc = @cipher.update(Base64::decode64(data))
|
||||
rc << @cipher.final
|
||||
|
Loading…
x
Reference in New Issue
Block a user