diff options
author | Rodney Ewing <ewing.rj@gmail.com> | 2013-05-15 13:24:43 -0700 |
---|---|---|
committer | Rodney Ewing <ewing.rj@gmail.com> | 2013-05-24 16:52:48 -0700 |
commit | f65615eaf9bd01786ae91c21103b7b3ef921896f (patch) | |
tree | 781dd506e7b30662c09ac3c79bf351eab7a5ea01 /mediagoblin/auth | |
parent | 5b6923ab84118e967d5b39a4f05756bcccb525be (diff) | |
download | mediagoblin-f65615eaf9bd01786ae91c21103b7b3ef921896f.tar.lz mediagoblin-f65615eaf9bd01786ae91c21103b7b3ef921896f.tar.xz mediagoblin-f65615eaf9bd01786ae91c21103b7b3ef921896f.zip |
renamed hook as to no conflict with existing hook names
Diffstat (limited to 'mediagoblin/auth')
-rw-r--r-- | mediagoblin/auth/tools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/auth/tools.py b/mediagoblin/auth/tools.py index 114cc7fb..f06182b2 100644 --- a/mediagoblin/auth/tools.py +++ b/mediagoblin/auth/tools.py @@ -58,7 +58,7 @@ def normalize_user_or_email_field(allow_email=True, allow_user=True): def check_auth_enabled(): no_auth = mg_globals.app_config['no_auth'] - auth_plugin = True if hook_handle('auth') is not None else False + auth_plugin = True if hook_handle('authentication') is not None else False if no_auth == 'false' and not auth_plugin: print 'No authentication plugin is enabled and no_auth = false in ' \ |