diff --git a/doc/configuration.rst b/doc/configuration.rst index c01bb6d..738a961 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -783,7 +783,7 @@ Valid options are ``fas``, ``openid``, ``oidc``, or ``local``. * ``local`` causes pagure to use the local pagure database for user management. -Defaults to: ``fas``. +Defaults to: ``local``. OIDC Settings diff --git a/files/pagure.cfg.sample b/files/pagure.cfg.sample index 6a919f6..2179403 100644 --- a/files/pagure.cfg.sample +++ b/files/pagure.cfg.sample @@ -160,10 +160,10 @@ REDIS_DB = 0 # Authentication related configuration option ### Switch the authentication method -# Specify which authentication method to use, defaults to `fas` can be or -# `local` -# Default: ``fas``. -PAGURE_AUTH = 'fas' +# Specify which authentication method to use. +# Available options: `fas`, `openid`, `oidc`, `local` +# Default: ``local``. +PAGURE_AUTH = 'local' # When this is set to True, the session cookie will only be returned to the # server via ssl (https). If you connect to the server via plain http, the diff --git a/pagure/default_config.py b/pagure/default_config.py index 2450bb0..5465143 100644 --- a/pagure/default_config.py +++ b/pagure/default_config.py @@ -197,10 +197,10 @@ FROM_EMAIL = 'pagure@pagure.org' DOMAIN_EMAIL_NOTIFICATIONS = 'pagure.org' SALT_EMAIL = '' -# Specify which authentication method to use, defaults to `fas`, other -# possibilities are `local` or `oidc` -# Default: ``fas``. -PAGURE_AUTH = 'fas' +# Specify which authentication method to use. +# Available options: `fas`, `openid`, `oidc`, `local` +# Default: ``local``. +PAGURE_AUTH = 'local' # If PAGURE_AUTH is set to 'oidc', the following variables must be set: # The path to JSON file with client secrets (provided by your IdP)