diff --git a/content/developer/howtos/website_themes/setup.rst b/content/developer/howtos/website_themes/setup.rst index 751db46fe..06c402272 100644 --- a/content/developer/howtos/website_themes/setup.rst +++ b/content/developer/howtos/website_themes/setup.rst @@ -155,24 +155,31 @@ Database setup Create an empty database. -.. code-block:: xml +.. code-block:: bash createdb Import the SQL file in the database that you just created. -.. code-block:: xml +.. code-block:: bash psql < dump.sql Reset the admin user password. -.. code-block:: xml +.. code-block:: bash psql \c update res_users set login='admin', password='admin' where id=2; +If necessary, disable the two-factor authentication enforcing policy option. + +.. code-block:: bash + + psql + update res_users set top_secret='' where id=2; + Getting started ===============