Remove ununsed variable `user_id_table` in `monkey_island/cc/resources/auth/user_store.py`
This commit is contained in:
parent
a5481c15f8
commit
eeaafc9a3b
|
@ -6,10 +6,8 @@ from monkey_island.cc.resources.auth.auth_user import User
|
||||||
class UserStore:
|
class UserStore:
|
||||||
users = []
|
users = []
|
||||||
username_table = {}
|
username_table = {}
|
||||||
user_id_table = {}
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def set_users(users: List[User]):
|
def set_users(users: List[User]):
|
||||||
UserStore.users = users
|
UserStore.users = users
|
||||||
UserStore.username_table = {u.username: u for u in UserStore.users}
|
UserStore.username_table = {u.username: u for u in UserStore.users}
|
||||||
UserStore.user_id_table = {u.id: u for u in UserStore.users}
|
|
||||||
|
|
Loading…
Reference in New Issue