File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -831,7 +831,7 @@ def info_from_cookie(kaka):
831
831
try :
832
832
key , ref = base64 .b64decode (morsel .value ).split (":" )
833
833
return IDP .cache .uid2user [key ], ref
834
- except KeyError :
834
+ except ( KeyError , TypeError ) :
835
835
return None , None
836
836
else :
837
837
logger .debug ("No idpauthn cookie" )
Original file line number Diff line number Diff line change @@ -777,7 +777,7 @@ def info_from_cookie(kaka):
777
777
try :
778
778
key , ref = base64 .b64decode (morsel .value ).split (":" )
779
779
return IDP .cache .uid2user [key ], ref
780
- except KeyError :
780
+ except ( TypeError , KeyError ) :
781
781
return None , None
782
782
else :
783
783
logger .debug ("No idpauthn cookie" )
Original file line number Diff line number Diff line change @@ -758,7 +758,7 @@ def info_from_cookie(kaka):
758
758
try :
759
759
key , ref = base64 .b64decode (morsel .value ).split (":" )
760
760
return IDP .cache .uid2user [key ], ref
761
- except KeyError :
761
+ except ( KeyError , TypeError ) :
762
762
return None , None
763
763
else :
764
764
logger .debug ("No idpauthn cookie" )
You can’t perform that action at this time.
0 commit comments