0001-python3-discard-tabs-in-python-source-files-31158.patch
src/authentic2/registration_backend/urls.py | ||
---|---|---|
7 | 7 | |
8 | 8 |
urlpatterns = [ |
9 | 9 |
url(r'^activate/(?P<registration_token>[\w: -]+)/$', |
10 |
registration_completion, name='registration_activate'),
|
|
10 |
registration_completion, name='registration_activate'),
|
|
11 | 11 |
url(r'^register/$', |
12 | 12 |
RegistrationView.as_view(), |
13 | 13 |
name='registration_register'), |
src/authentic2/saml/migrations/0008_alter_foreign_keys.py | ||
---|---|---|
32 | 32 |
a.save() |
33 | 33 |
for fed in LibertyFederation.objects.all(): |
34 | 34 |
if fed.idp: |
35 |
lp = LibertyProvider.objects.get(old_id=fed.idp)
|
|
35 |
lp = LibertyProvider.objects.get(old_id=fed.idp)
|
|
36 | 36 |
fed.idp = lp.service_ptr_id |
37 | 37 |
if fed.sp: |
38 |
lp = LibertyProvider.objects.get(old_id=fed.sp)
|
|
38 |
lp = LibertyProvider.objects.get(old_id=fed.sp)
|
|
39 | 39 |
fed.sp = lp.service_ptr_id |
40 | 40 |
fed.save() |
41 | 41 | |
42 |
- |