Co-authored-by: Jason Novinger <jnovinger@gmail.com>
This commit is contained in:
parent
c0f79df91f
commit
ae03723e43
|
|
@ -123,7 +123,7 @@ class UserTokenForm(forms.ModelForm):
|
|||
token = forms.CharField(
|
||||
label=_('Token'),
|
||||
help_text=_(
|
||||
'Tokens must be at least 40 characters in length. <strong>Be sure to record your key</strong> prior to '
|
||||
'Tokens must be at least 40 characters in length. <strong>Be sure to record your token</strong> prior to '
|
||||
'submitting this form, as it will no longer be accessible once the token has been created.'
|
||||
),
|
||||
widget=forms.TextInput(
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ class Token(models.Model):
|
|||
write_enabled = models.BooleanField(
|
||||
verbose_name=_('write enabled'),
|
||||
default=True,
|
||||
help_text=_('Permit create/update/delete operations using this key')
|
||||
help_text=_('Permit create/update/delete operations using this token')
|
||||
)
|
||||
# For legacy v1 tokens, this field stores the plaintext 40-char token value. Not used for v2.
|
||||
plaintext = models.CharField(
|
||||
|
|
|
|||
Loading…
Reference in New Issue