mirror of
https://github.com/hrfee/jellyfin-accounts.git
synced 2026-07-26 12:01:42 +00:00
Added dropdown menu for invites, multi-use invites, bump to 0.3.6
Dropdown menu includes time created, and for multi-use invites, remaining uses, as well as a list of usernames created using the code.
This commit is contained in:
@@ -190,7 +190,7 @@ class Jellyfin:
|
||||
)
|
||||
|
||||
def newUser(self, username: str, password: str):
|
||||
for user in self.getUsers():
|
||||
for user in self.getUsers(public=False):
|
||||
if user["Name"] == username:
|
||||
raise self.UserExistsError
|
||||
response = requests.post(
|
||||
|
||||
Reference in New Issue
Block a user