From c75c612243771c563ee27ab83d790a477e458968 Mon Sep 17 00:00:00 2001 From: Nicola Cammillini Date: Mon, 19 Sep 2016 11:24:09 +0200 Subject: [PATCH] docs: fix of minimal configuration setup * Fixes minimal example setup so it matches code in tests. --- AUTHORS | 1 + docs/index.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 5b15820..68c3bb7 100644 --- a/AUTHORS +++ b/AUTHORS @@ -14,3 +14,4 @@ Contributors * ThiefMaster * Tibor Simko * Harri Hämäläinen +* Nicola Cammillini diff --git a/docs/index.rst b/docs/index.rst index a354be1..d93d69b 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -102,7 +102,7 @@ variables to a dictionary containing user information: 'HTTP_SHIB_AUTHENTICATION_METHOD': (False, 'authmethod'), } - app.config.setdefault('SSO_ATTRIBUTE_MAP', SSO_ATTRIBUTE_MAP) + app.config['SSO_ATTRIBUTE_MAP'] = SSO_ATTRIBUTE_MAP Third, let's set up a login handler function that reads user information