mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-04 02:33:43 +00:00
Update 019_encrypt_user_valves.py
This commit is contained in:
parent
8cf75e5c18
commit
8c06fd5bb3
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ def migrate(migrator: Migrator, database: pw.Database, *, fake=False):
|
|||
|
||||
def rollback(migrator: Migrator, database: pw.Database, *, fake=False):
|
||||
"""Decrypt user valves back to plaintext."""
|
||||
from open_webui.utils.crypto import decrypt_user_valves
|
||||
from open_webui.utils.valve_encryption import decrypt_user_valves
|
||||
|
||||
cursor = database.execute_sql('SELECT "id", "settings" FROM "user" WHERE "settings" IS NOT NULL')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue