Skip to content

Commit

Permalink
fix: #475
Browse files Browse the repository at this point in the history
  • Loading branch information
maduvena committed Sep 30, 2022
1 parent 6b840d8 commit f123aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion casa/extras/Casa.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def getSuitableAcr(self, user, deviceInf, preferred):
if acr == None and onMobile:
print "Casa. getSuitableAcr. No mobile-friendly authentication method available for user %s" % id
# user_methods is not empty when this function is called, so just pick any
acr = user_methods.get(0)
acr = user_methods.stream().findFirst().get()

print "Casa. getSuitableAcr. %s was selected for user %s" % (acr, id)
return acr
Expand Down

0 comments on commit f123aa6

Please sign in to comment.