mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
correct discourse user updater
This commit is contained in:
parent
5c07f75eb5
commit
9df76443b1
@ -108,9 +108,9 @@ class DiscourseManager:
|
||||
providers.discourse.client.activate(u_id)
|
||||
|
||||
@staticmethod
|
||||
def __update_user(username, **kwargs):
|
||||
def __update_user(username, **kwargs) -> None:
|
||||
u_id = DiscourseManager.__user_name_to_id(username)
|
||||
providers.discourse.client.update_user(endpoint, u_id, **kwargs)
|
||||
providers.discourse.client.update_user(username, u_id, **kwargs)
|
||||
|
||||
@staticmethod
|
||||
def __create_user(username, email, password):
|
||||
|
Loading…
x
Reference in New Issue
Block a user