diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2017-10-24 10:35:21 +0300 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2017-10-24 10:35:21 +0300 |
commit | cc5ba3d907c42175b70d3374c3772d0d25d12080 (patch) | |
tree | dd987308030253c90000cf7027ec6f230c840e56 /lib/api/services.rb | |
parent | 82446a2bd009e7d7481c35a142063a3973be77ce (diff) | |
download | gitlab-ce-cc5ba3d907c42175b70d3374c3772d0d25d12080.tar.gz |
Validate username/pw for Jiraservice, require them in the API
Diffstat (limited to 'lib/api/services.rb')
-rw-r--r-- | lib/api/services.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/services.rb b/lib/api/services.rb index 2cbd0517dc3..1e4f7c29633 100644 --- a/lib/api/services.rb +++ b/lib/api/services.rb @@ -313,13 +313,13 @@ module API desc: 'The base URL to the JIRA instance API. Web URL value will be used if not set. E.g., https://jira-api.example.com' }, { - required: false, + required: true, name: :username, type: String, desc: 'The username of the user created to be used with GitLab/JIRA' }, { - required: false, + required: true, name: :password, type: String, desc: 'The password of the user created to be used with GitLab/JIRA' |