Skip to content

Commit

Permalink
Merge branch 'develop' into 'master'
Browse files Browse the repository at this point in the history
Fixed authentication

See merge request namibsun/python/kudubot!16
  • Loading branch information
namboy94 committed Oct 5, 2019
2 parents 71bc3ff + e7943e8 commit 93f35b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
V 0.32.0:
- Fixed huge issue with authentication
V 0.31.1:
- Fixed minor issue when running uninitialized bot
- /start now shows help command
Expand Down
3 changes: 1 addition & 2 deletions kudubot/Bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ def wrapper(
args: Dict[str, Any],
db_session: Session
):
status = self.is_authorized(sender, args, db_session)
if status: # TODO FIX
if not self.is_authorized(sender, args, db_session):
self.send_txt(
sender,
self.unauthorized_message(),
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.31.1
0.32.0

0 comments on commit 93f35b5

Please sign in to comment.