Skip to content

Commit

Permalink
fixing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kakwa committed May 21, 2014
1 parent 4019bc8 commit 6af9c64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/auth_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ and implement the **__init__** and **check_credentials** methods:

# get param2, with no default value
# if not provided in the 'auth' section, DnsCherry will emit
# a log telling that the parameter is missing, then exit(1)
# a log telling that the parameter is missing and exit(1)
self.param2 = self._get_param('auth.mymod.param2')

# emit a custom log
Expand All @@ -135,6 +135,6 @@ and implement the **__init__** and **check_credentials** methods:
"""

# simple module checking only one user/password
return username == 'george' && password == 'password'
return username == 'george' and password == 'password'


0 comments on commit 6af9c64

Please sign in to comment.