langflow/src
Gabriel Luiz Freitas Almeida f8cbd1ec03
chore: Refactor authentication key generation (#2443)
Refactor the `ensure_valid_key` function in `utils.py` to improve the generation of a valid key for authentication. The function now checks if the input key is too short and generates a random key if necessary. Additionally, the key is now URL-safe base64-encoded. This change enhances the security and reliability of the authentication process.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-01 09:26:35 -07:00
..
backend chore: Refactor authentication key generation (#2443) 2024-07-01 09:26:35 -07:00
frontend Merge branch 'dev' into cz/fix-messages-deleting-error 2024-06-30 11:26:10 -03:00