Skip to content

Commit cab5796

Browse files
authored
Simplify legacy authorization configuration
Removed unnecessary 'require' statements for legacy auth.
1 parent b2c3e2d commit cab5796

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

influxdb/users.sls

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,6 @@ check_auth_user_{{ name }}_legacy:
185185
- match_type: string
186186
- header_dict:
187187
Authorization: Token {{ influxdb['user']['admin']['token'] }}
188-
- require:
189-
- http: check_bucket_{{ bucket }}_exists
190188
191189
auth_user_{{ name }}_legacy:
192190
http.query:
@@ -208,8 +206,6 @@ password_auth_user_{{ name }}_legacy:
208206
- data: '{"password": "{{ config["password"] }}"}'
209207
- header_dict:
210208
Authorization: Token {{ influxdb['user']['admin']['token'] }}
211-
- require:
212-
- http: check_bucket_{{ bucket }}_exists
213209
214210
{%- set auth_data = {
215211
'token': name,

0 commit comments

Comments
 (0)