Skip to content

Commit

Permalink
Merge pull request #32 from iarp/set_login-any-url
Browse files Browse the repository at this point in the history
fix(protocol): set_login should not restrict url
  • Loading branch information
hrehfeld authored Dec 5, 2022
2 parents a06cb38 + 2767914 commit f30fca5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions keepassxc_browser/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,6 @@ def get_logins(self, identity, url, submit_url=None, http_auth=None):
def set_login(
self, identity, url, login=None, password=None, entry_id=None, submit_url=None
):
if not (url.startswith('mailto:') or url.startswith('https:')):
raise Exception('Url needs to start with "mailto:" or "https:"')
action = 'set-login'
message = create_message(action, id=identity.associated_name, url=url)

Expand Down

0 comments on commit f30fca5

Please sign in to comment.