1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-03-20 06:50:23 +03:00

Use singleton instance of CryptoManager for password encryption in Tickets handler

This commit is contained in:
Adolfo Gómez García 2025-02-12 17:48:53 +01:00
parent 1c81c4e76c
commit 419c828cc0
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -254,7 +254,7 @@ class Tickets(Handler):
data = {
'username': username,
'password': CryptoManager().encrypt(password),
'password': CryptoManager.manager().encrypt(password),
'realname': realname,
'groups': groups_ids,
'auth': auth.uuid,