We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 78697e9 + 409287c commit 162b7b4Copy full SHA for 162b7b4
freenit/api/auth.py
@@ -141,7 +141,7 @@ def post(self, args):
141
host = request.headers.get('Origin', request.url_root)
142
requestToken = create_access_token(identity, expires_delta=expires)
143
confirm = 'confirm'
144
- if host[:-1] != '/':
+ if host[-1] != '/':
145
confirm = f'/{confirm}'
146
url = f'{host}{confirm}/{requestToken}'
147
msg = MIMEText(url, 'plain', 'utf-8')
setup.py
@@ -9,7 +9,7 @@
9
10
setup(
11
name='freenit',
12
- version='0.0.28',
+ version='0.0.29',
13
description='REST API framework based on Flask-Smorest',
14
long_description=README,
15
long_description_content_type='text/markdown',
0 commit comments