Skip to content

Commit

Permalink
Update getCookie.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wenxinll authored Oct 14, 2021
1 parent 010c000 commit 6199fea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions common/getCookie.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ def get_token(server):
data = {
'username': 'admin',
'password': 'P@88w0rd',
'grant_type': 'password',
'client_id': 'kubesphere',
'client_secret': 'kubesphere'
'grant_type': 'password'
}
url = server + '/oauth/token'
try:
Expand Down

0 comments on commit 6199fea

Please sign in to comment.