0001-auth_oidc-provide-clearer-STRATEGY_CREATE-explanatio.patch
src/authentic2_auth_oidc/migrations/0004_auto_20171017_1522.py | ||
---|---|---|
15 | 15 |
max_length=32, |
16 | 16 |
verbose_name='strategy', |
17 | 17 |
choices=[ |
18 |
('create', 'create if standard account matching failed'), |
|
18 |
( |
|
19 |
'create', |
|
20 |
'create if standard account matching on email address failed (matching *will* fail if ' |
|
21 |
'global- and provider\'s ou-wise email uniqueness is deactivated in Authentic ' |
|
22 |
'configuration)' |
|
23 |
), |
|
19 | 24 |
('find-uuid', 'use sub to find existing user through UUID'), |
20 | 25 |
('find-username', 'use sub to find existing user through username'), |
21 | 26 |
('none', 'none'), |
src/authentic2_auth_oidc/models.py | ||
---|---|---|
45 | 45 |
STRATEGY_NONE = 'none' |
46 | 46 | |
47 | 47 |
STRATEGIES = [ |
48 |
(STRATEGY_CREATE, _('create if standard account matching failed')), |
|
48 |
( |
|
49 |
STRATEGY_CREATE, |
|
50 |
_( |
|
51 |
'create if standard account matching on email address failed (matching *will* fail if ' |
|
52 |
'global- and provider\'s ou-wise email uniqueness is deactivated in Authentic ' |
|
53 |
'configuration)' |
|
54 |
), |
|
55 |
), |
|
49 | 56 |
(STRATEGY_FIND_UUID, _('use sub to find existing user through UUID')), |
50 | 57 |
(STRATEGY_FIND_USERNAME, _('use sub to find existing user through username')), |
51 | 58 |
(STRATEGY_NONE, _('none')), |
52 |
- |