Fix transaction handling in providers
authorSimo Sorce <simo@redhat.com>
Sun, 5 Oct 2014 18:00:25 +0000 (14:00 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Mon, 6 Oct 2014 17:53:22 +0000 (19:53 +0200)
commit7605a4263263fb399176a0d9eea49ab7ecc81274
tree47e2d9ae4de53ef6504ba438a5b2d2d6f9a3e08f
parentdfd9e00ff07ebbf1c3e4d9ef525ba38e2e96739e
Fix transaction handling in providers

When a provider redirects to the login code, it must retain 'ownership'
of the transaction, otherwise the login code will wipe the transaction
data as sson as the authentication is completed but before the provider
has completed its part of the transaction.
Make sure the transaction code retrieves the 'owner' from the data for
pre-existing transactions.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
ipsilon/login/common.py
ipsilon/util/trans.py