Api basic auth not works if api_secret_path file created failed
Hi, when i running grin server in a docker, i suddenly found that the api basic auth not worked.
After some test, i found that the api_secret_path is set under a not exists path in the server config file, and when i change the path to an exists dir, it works.
Works as designed, what behavior would you expect in this case?
Well, I think a warning or notice is better than silent disable😂
If grin cannot read the auth secret that is defined in the config, it should probably exit with a non-zero code.
Reported long ago but appears a valid concern. Has anyone verified behaviour on the current code?