Skip to content

Commit

Permalink
Update dependencies, remove extraneous whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
14mRh4X0r committed Oct 28, 2017
1 parent 4322d1e commit dc0f5d8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions pam_auth_provider.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Copyright 2017 Willem Mulder
#
#
# Licensed under the EUPL, Version 1.1 or - as soon they will be approved by
# the European Commission - subsequent versions of the EUPL (the "Licence");
# You may not use this work except in compliance with the Licence.
# You may obtain a copy of the Licence at:
#
#
# https://joinup.ec.europa.eu/software/page/eupl
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Licence is distributed on an "AS IS" basis,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand Down Expand Up @@ -44,7 +44,7 @@ def check_password(self, user_id, password):
defer.returnValue(False)

# Now check the password
if not pam.authenticate(localpart, password, service='matrix-synapse'):
if not pam.pam().authenticate(localpart, password, service='matrix-synapse'):
defer.returnValue(False)

# From here on, the user is authenticated
Expand Down
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/usr/bin/env python

# Copyright 2017 Willem Mulder
#
#
# Licensed under the EUPL, Version 1.1 or - as soon they will be approved by
# the European Commission - subsequent versions of the EUPL (the "Licence");
# You may not use this work except in compliance with the Licence.
# You may obtain a copy of the Licence at:
#
#
# https://joinup.ec.europa.eu/software/page/eupl
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Licence is distributed on an "AS IS" basis,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -19,11 +19,11 @@

setup(
name="matrix-synapse-pam",
version="0.1.1",
version="0.1.2",
py_modules=['pam_auth_provider'],
install_requires=[
"Twisted>=8.0.0",
"pam"
"python-pam"
],

author="Willem Mulder",
Expand Down

0 comments on commit dc0f5d8

Please sign in to comment.