mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Add regex for camera username and password
This commit is contained in:
parent
b9c58ceed5
commit
bb8dc2d09c
@ -9,4 +9,4 @@ PLUS_API_HOST = "https://api.frigate.video"
|
||||
# Regex Consts
|
||||
|
||||
REGEX_CAMERA_NAME = "^[a-zA-Z0-9_-]+$"
|
||||
REGEX_CAMERA_USER_PASS = ""
|
||||
REGEX_CAMERA_USER_PASS = "[a-zA-Z0-9_-]+:[a-zA-Z0-9!$_-]+@"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user