auth_oidc: relabel STRATEGY_CREATE option for disambiguation (#60476)

This commit is contained in:
Paul Marillonnet 2022-01-11 10:25:24 +01:00
parent bfb0226f2f
commit 2795a2e706
2 changed files with 2 additions and 2 deletions

View File

@ -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'),

View File

@ -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')),