]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/app/wordpress.py
Fix migration security check bug, and add random keys support.
[wizard.git] / wizard / app / wordpress.py
index 883f5de2177fa4301508e5ee0a07ddeadde8d61f..d98add18b2c4c0e09fb8be8053f0034929ceb3cc 100644 (file)
@@ -32,6 +32,7 @@ class Application(app.Application):
     substitutions.update(php.substitutions)
     install_schema = install.ArgSchema("db", "email", "title")
     deprecated_keys = set(['WIZARD_SECRETKEY'])
+    random_keys = set(['WIZARD_SECRETKEY', 'WIZARD_AUTH_KEY', 'WIZARD_SECURE_AUTH_KEY', 'WIZARD_LOGGED_IN_KEY', 'WIZARD_NONCE_KEY'])
     def download(self, version):
         return "http://wordpress.org/wordpress-%s.tar.gz" % version
     def checkConfig(self, deployment):