I made a mistake and committed my Django project's SECRET_KEY
into a public repository.
This key should have been kept secret according to the docs.
The Django project is live and has been running for a while with some active users. What are the effects if I change the SECRET_KEY
? Will any existing users, cookies, sessions, etc.. be affected? Obviously, the new SECRET_KEY
will no longer be stored in a public location.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…