Skip to content

Commit 57d783d

Browse files
committed
Do not hash user_id if hash_type is unspecified
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent 75be009 commit 57d783d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/satosa/internal_data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def hash_id(salt, user_id, requester, state):
112112
(lambda salt, value: value)
113113
if hash_type in [
114114
UserIdHashType.emailaddress,
115+
UserIdHashType.unspecified,
115116
]
116117
else UserIdHasher.hash_data)
117118
return hasher(salt, user_id)

0 commit comments

Comments
 (0)