Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #28 from phovea/release-2.2.0
Browse files Browse the repository at this point in the history
Release 2.2.0
  • Loading branch information
thinkh authored Aug 27, 2019
2 parents 230998c + ad08160 commit 28884cf
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ Building
npm run build
```

Default users
-------
| Username | Password |
|----------|----------|
| admin | `admin` |
| sam | `sam` |

Add new users
-------

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"name": "phovea_security_flask",
"description": "",
"homepage": "https://phovea.caleydo.org",
"version": "2.1.2",
"version": "2.2.0",
"author": {
"name": "The Caleydo Team",
"email": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion phovea_security_flask/flask_login_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def _load_user_from_key(self, api_key):

def _load_user_from_request(self, request):
# first, try to login using the api_key url arg
api_key = request.args.get('api_key')
api_key = request.headers.get('api_key')
if api_key:
user = self._load_user_from_key(api_key)
if user:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
flask-login==0.4.0
phovea-server>=2.1.0,<2.2.0
phovea_server>=2.3.0,<2.4.0
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def to_version(v):
url=pkg['homepage'],
description=pkg['description'],
long_description=read_it('README.md'),
long_description_content_type='text/markdown',
keywords=pkg.get('keywords', ''),
author=pkg['author']['name'],
author_email=pkg['author']['email'],
Expand Down

0 comments on commit 28884cf

Please sign in to comment.