summaryrefslogtreecommitdiff
path: root/app/models/integrations/packagist.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/integrations/packagist.rb')
-rw-r--r--app/models/integrations/packagist.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/integrations/packagist.rb b/app/models/integrations/packagist.rb
index f616bc5faf2..738319ce835 100644
--- a/app/models/integrations/packagist.rb
+++ b/app/models/integrations/packagist.rb
@@ -36,10 +36,12 @@ module Integrations
required: true
},
{
- type: 'text',
+ type: 'password',
name: 'token',
title: _('Token'),
help: s_('Enter your Packagist token.'),
+ non_empty_password_title: s_('ProjectService|Enter new token'),
+ non_empty_password_help: s_('ProjectService|Leave blank to use your current token.'),
placeholder: '',
required: true
},