# HG changeset patch # User Laurent Peuch # Date 1549984314 -3600 # Node ID 923f9c9f56c5d151c67cf5128cdca094d9082f24 # Parent aa3581fc685c0325d74adbf4c681d69ff4d8de11 [pyramid] improve pyramid warning with link to doc on how to write pyramid.ini file diff -r aa3581fc685c -r 923f9c9f56c5 .hgignore --- a/.hgignore Tue Feb 12 14:43:45 2019 +0100 +++ b/.hgignore Tue Feb 12 16:11:54 2019 +0100 @@ -32,3 +32,4 @@ ^doc/_build ^doc/js_api/ test-results.xml +ve diff -r aa3581fc685c -r 923f9c9f56c5 cubicweb/pyramid/auth.py --- a/cubicweb/pyramid/auth.py Tue Feb 12 14:43:45 2019 +0100 +++ b/cubicweb/pyramid/auth.py Tue Feb 12 16:11:54 2019 +0100 @@ -214,6 +214,11 @@ YOU SHOULD STOP THIS INSTANCE unless your really know what you are doing !! + Please refer to to cubicweb-pyramid documentation on how to + write this pyramid.ini file: + https://cubicweb.readthedocs.io/en/latest/book/pyramid/settings/#pyramid-settings-file + Without it authentication WON'T work. + ''') policies.append(