Skip to content

Commit d664526

Browse files
author
tailor
committed
[project @ trust_root defaults to return_to]
1 parent 1c8656b commit d664526

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎openid/server/server.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ def __init__(self, identity, return_to, trust_root=None, immediate=False,
475475
self.assoc_handle = assoc_handle
476476
self.identity = identity
477477
self.return_to = return_to
478-
self.trust_root = trust_root
478+
self.trust_root = trust_root or return_to
479479
if immediate:
480480
self.immediate = True
481481
self.mode = "checkid_immediate"

0 commit comments

Comments
 (0)