auth_oidc: relabel STRATEGY_CREATE option for disambiguation (#60476)
This commit is contained in:
parent
bfb0226f2f
commit
2795a2e706
|
@ -15,7 +15,7 @@ class Migration(migrations.Migration):
|
|||
max_length=32,
|
||||
verbose_name='strategy',
|
||||
choices=[
|
||||
('create', 'create'),
|
||||
('create', 'create if standard account matching failed'),
|
||||
('find-uuid', 'use sub to find existing user through UUID'),
|
||||
('find-username', 'use sub to find existing user through username'),
|
||||
('none', 'none'),
|
||||
|
|
|
@ -45,7 +45,7 @@ class OIDCProvider(models.Model):
|
|||
STRATEGY_NONE = 'none'
|
||||
|
||||
STRATEGIES = [
|
||||
(STRATEGY_CREATE, _('create')),
|
||||
(STRATEGY_CREATE, _('create if standard account matching failed')),
|
||||
(STRATEGY_FIND_UUID, _('use sub to find existing user through UUID')),
|
||||
(STRATEGY_FIND_USERNAME, _('use sub to find existing user through username')),
|
||||
(STRATEGY_NONE, _('none')),
|
||||
|
|
Loading…
Reference in New Issue