admin: removing credential to obtain 404 error
When the users endpoint doesn't need auth, but if the credential are incorrect it return a code 401. Not adding 401 as expected status_code to avoid confusion in case of wrong credential with existing user Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
parent
6c40ef08bf
commit
9e978c0d94
|
@ -10,9 +10,6 @@
|
|||
url: '{{ gitea_app_cont_web_url }}/api/v1/users/{{ gitea_app_admin_user }}'
|
||||
status_code: [200, 404]
|
||||
return_content: true
|
||||
user: '{{ gitea_app_admin_user | mandatory }}'
|
||||
password: '{{ gitea_app_admin_pass | mandatory }}'
|
||||
force_basic_auth: true
|
||||
register: gitea_admin_user_raw
|
||||
|
||||
- name: Create main Gitea admin user
|
||||
|
|
Loading…
Reference in New Issue