Quickfix
This commit is contained in:
@@ -158,9 +158,10 @@ class OAuthTool(object):
|
|||||||
elif self.final_error != 'error_placeholder':
|
elif self.final_error != 'error_placeholder':
|
||||||
show_notification(self.stdscr, ['Authentication error'])
|
show_notification(self.stdscr, ['Authentication error'])
|
||||||
return
|
return
|
||||||
|
|
||||||
# Check if UUID matches obtained state
|
# Check if UUID matches obtained state
|
||||||
# (if not, authorization process is compromised, and I'm giving up)
|
# (if not, authorization process is compromised, and I'm giving up)
|
||||||
elif hex_uuid != self.final_state:
|
if hex_uuid != self.final_state:
|
||||||
show_notification(self.stdscr, ['UUID mismatch, stopping.'])
|
show_notification(self.stdscr, ['UUID mismatch, stopping.'])
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user