Skip to content

Commit

Permalink
Merge pull request #88 from kstateome/develop
Browse files Browse the repository at this point in the history
1.5.1
  • Loading branch information
keithbauer committed Jul 9, 2019
2 parents 0fd17f6 + de6f5fc commit 2d2a202
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,6 @@
### 1.5.1
- Include request in authenticate and evaluate gateway query_list (https://github.com/kstateome/django-cas/pull/87)

### 1.5.0
- Path Change (https://github.com/kstateome/django-cas/pull/76)
- Update authenticate method (https://github.com/kstateome/django-cas/pull/77/files)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -2,7 +2,7 @@

CAS client for Django. This library requires Django 1.5 or above, and Python 2.6, 2.7, 3.4

Current version: 1.5.0
Current version: 1.5.1

This is [K-State's fork](https://github.com/kstateome/django-cas) of [the original](https://bitbucket.org/cpcc/django-cas/overview) and includes [several additional features](https://github.com/kstateome/django-cas/#additional-features) as well as features merged from

Expand All @@ -14,7 +14,7 @@ This is [K-State's fork](https://github.com/kstateome/django-cas) of [the or

This project is registered on PyPi as django-cas-client. To install::

pip install django-cas-client==1.5.0
pip install django-cas-client==1.5.1


### Add to URLs
Expand Down
4 changes: 2 additions & 2 deletions cas/views.py
Expand Up @@ -67,7 +67,7 @@ def _service_url(request, redirect_to=None, gateway=False):
for index, item2 in enumerate(gateway_params):
if item[0] == item2[0]:
gateway_params.pop(index)
extra_params = gateway_params + query_list
extra_params = gateway_params + list(query_list)

#Sort params by key name so they are always in the same order.
sorted_params = sorted(extra_params, key=itemgetter(0))
Expand Down Expand Up @@ -187,7 +187,7 @@ def login(request, next_page=None, required=False, gateway=False):
service = _service_url(request, next_page, False)

if ticket:
user = auth.authenticate(ticket=ticket, service=service)
user = auth.authenticate(request=request, ticket=ticket, service=service)

if user is not None:

Expand Down
4 changes: 4 additions & 0 deletions docs/source/changelog.rst
@@ -1,6 +1,10 @@
Changelog
=========

1.5.1
------------------
- Include request in authenticate and evaluate gateway query_list (https://github.com/kstateome/django-cas/pull/87)

1.5.0
------------------
- Path Change (https://github.com/kstateome/django-cas/pull/76)
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Expand Up @@ -58,9 +58,9 @@
# built documents.
#
# The short X.Y version.
version = '1.5.0'
version = '1.5.1'
# The full version, including alpha/beta/rc tags.
release = '1.5.0'
release = '1.5.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -2,7 +2,7 @@

from setuptools import setup, find_packages

version = '1.5.0'
version = '1.5.1'


def read(fname):
Expand Down

0 comments on commit 2d2a202

Please sign in to comment.