Skip to content

Commit

Permalink
Merge branch 'flxsosa-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
deargle committed May 20, 2021
2 parents e6ba703 + 524b448 commit 956ef9f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/dashboard.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Dashboard Overview

A dashboard is available at route ``/dashboard``. The dashboard can be enabled
by setting :ref:`settings-enable-dashboard` to ``True``, and by setting a
:ref:`settings-login-username` and :ref:`settings-login-pw`.
:ref:`settings-login-username`, :ref:`settings-login-pw`, and :ref:`settings-secret-key`.



Expand Down
20 changes: 20 additions & 0 deletions doc/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,8 @@ Whether to enable the dashbaord. If True, then the ``login_username`` and
:Type: ``bool``
:Default: False

.. seealso:: :ref:`dashboard-overview`


.. _settings-do-scheduler:

Expand Down Expand Up @@ -629,6 +631,24 @@ web pages urls/routes. By default if you aren't
using them, this is ignored.


.. _settings-secret-key:

secret_key
~~~~~~~~~~

:Type: ``string``
:Default: None

This is `required by psiTurk's underlying Flask server`__ for any route
that uses a "Session", such as the :ref:`psiTurk Dashboard <dashboard-overview>`.

It can be any string.

__ https://flask.palletsprojects.com/en/1.1.x/quickstart/#sessions

.. seealso:: :ref:`dashboard-overview`


.. _settings-threads:

threads
Expand Down

0 comments on commit 956ef9f

Please sign in to comment.