Open alok760 opened 5 years ago
It would be great if this could be hidden
the original secrete key is different
Also, I think this would require admin rights from the heroku server but you can test it for your local development
i have already changed it
Can I work on this ? If yes can you explain how to add something to documentation. Also # Initializing flask secret key using the environment variable "secret_key" app.secret_key = os.environ.get('secret_key', 'z528&^FJjhd_t2bxc#$2').encode() what is the second argument here? @alok760
@Patil2099 the second argument is the default value. To change the secret key, you need to set an environment variable secret_key
. You already need to set your Travis Key as an env variable, similarly, you need to set the flask secret key.
I'm submitting a ... (check one with "x")
Actual Behaviour There is no documentation for configuring flask secret key.
Expected Behaviour
Related code: https://github.com/fossasia/meilix-generator/blob/35a2bb78fc17138d5f64c2a40fbd94025bfdbb08/app.py#L25-L26