Skip to content

Commit

Permalink
Fix authentication after recent changes (thanks @jarmoruuth)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalle19 committed Oct 13, 2024
1 parent 5ddcda4 commit 52aaa8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycaruna/authenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def login(self):
# JavaScript.
c = r.content
soup = BeautifulSoup(c, 'lxml')
action = "/wicket/page?3-1.0-userIDPanel-usernameLogin-loginWithUserID"
action = soup.find('form')['action'][1:][:11] + "0-userIDPanel-usernameLogin-loginWithUserID"

# Build form variables (all hidden variables must always be included)
svars = utils.get_hidden_form_vars(soup)
Expand Down

0 comments on commit 52aaa8c

Please sign in to comment.