migration/0.4.0_Any.py
author David Douard <david.douard@logilab.fr>
Mon, 22 Feb 2016 15:57:10 +0100
changeset 11673 c3a583e38360
permissions -rw-r--r--
[cfg] remove the pyramid-{auth,session}-secret config options (closes #11027189) these should now be set in the pyramid.ini config file.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11673
c3a583e38360 [cfg] remove the pyramid-{auth,session}-secret config options (closes #11027189)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     1
c3a583e38360 [cfg] remove the pyramid-{auth,session}-secret config options (closes #11027189)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     2
# just notify the user to put the secret keys in pyramid.ini
c3a583e38360 [cfg] remove the pyramid-{auth,session}-secret config options (closes #11027189)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     3
c3a583e38360 [cfg] remove the pyramid-{auth,session}-secret config options (closes #11027189)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     4
print("The pyramid-auth-secret and pyramid-session-secret options has been\n"
c3a583e38360 [cfg] remove the pyramid-{auth,session}-secret config options (closes #11027189)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     5
      "removed from the all-in-one.conf file in favor of the pyramid.ini config\n"
c3a583e38360 [cfg] remove the pyramid-{auth,session}-secret config options (closes #11027189)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     6
      "file. Make sure to set \n"
c3a583e38360 [cfg] remove the pyramid-{auth,session}-secret config options (closes #11027189)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     7
      "  cubicweb.session.secret, \n"
c3a583e38360 [cfg] remove the pyramid-{auth,session}-secret config options (closes #11027189)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     8
      "  cubicweb.auth.authtkt.persistent.secret and \n"
c3a583e38360 [cfg] remove the pyramid-{auth,session}-secret config options (closes #11027189)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     9
      "  cubicweb.auth.authtkt.session.secret \n"
c3a583e38360 [cfg] remove the pyramid-{auth,session}-secret config options (closes #11027189)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    10
      "keys in your $APP/pyramid.ini file.")