mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-02 21:10:15 -05:00
chore: enforce 16 characters for invidious_companion_key (#5220)
This commit is contained in:
parent
409d12a81e
commit
23ff6135bb
@ -267,8 +267,8 @@ class Config
|
||||
elsif config.invidious_companion_key == "CHANGE_ME!!"
|
||||
puts "Config: The value of 'invidious_companion_key' needs to be changed!!"
|
||||
exit(1)
|
||||
elsif config.invidious_companion_key.size < 16
|
||||
puts "Config: The value of 'invidious_companion_key' needs to be a size of 16 or more."
|
||||
elsif config.invidious_companion_key.size != 16
|
||||
puts "Config: The value of 'invidious_companion_key' needs to be a size of 16 characters."
|
||||
exit(1)
|
||||
end
|
||||
elsif config.signature_server
|
||||
|
Loading…
x
Reference in New Issue
Block a user