aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/pluginwriter/authhooks.rst
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2016-09-18 00:48:32 +1000
committerBoris Bobrov <breton@cynicmansion.ru>2016-09-18 16:28:22 +0300
commit9650aa394bcb5f3b6f8a9c9e9b68a81fe77a41a7 (patch)
tree69297fa52f43b93efb2400649f2ab4cde12fb177 /docs/source/pluginwriter/authhooks.rst
parent821686372ccb18f508f20a1764236174c009573c (diff)
downloadmediagoblin-9650aa394bcb5f3b6f8a9c9e9b68a81fe77a41a7.tar.lz
mediagoblin-9650aa394bcb5f3b6f8a9c9e9b68a81fe77a41a7.tar.xz
mediagoblin-9650aa394bcb5f3b6f8a9c9e9b68a81fe77a41a7.zip
Spell-check the entire documentation.
Diffstat (limited to 'docs/source/pluginwriter/authhooks.rst')
-rw-r--r--docs/source/pluginwriter/authhooks.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/pluginwriter/authhooks.rst b/docs/source/pluginwriter/authhooks.rst
index 9721d729..66d9b9da 100644
--- a/docs/source/pluginwriter/authhooks.rst
+++ b/docs/source/pluginwriter/authhooks.rst
@@ -44,7 +44,7 @@ This hook is called in ``mediagoblin.auth.views`` in both the ``login`` and
if :ref:`basic_auth-chapter` is not enabled, the user will be redirected to the
correct login and registration views for your plugin.
-The code assumes that it can generate a valid url given
+The code assumes that it can generate a valid URL given
``mediagoblin.plugins.{{ your_plugin_here }}.login`` and
``mediagoblin.plugins.{{ your_plugin_here }}.register``. This is only needed if
you will not be using the ``login`` and ``register`` views in
@@ -82,5 +82,5 @@ the ``stored_hash`` and return either ``True`` or ``False``.
This hook is called in ``mediagoblin.auth.tools.check_login_simple``. It is
called if a user is not found and should do something that takes the same amount
-of time as your ``check_password`` function. This is to help prevent timining
+of time as your ``check_password`` function. This is to help prevent timing
attacks.