mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 12:30:15 +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)
|
providers.discourse.client.activate(u_id)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def __update_user(username, **kwargs):
|
def __update_user(username, **kwargs) -> None:
|
||||||
u_id = DiscourseManager.__user_name_to_id(username)
|
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
|
@staticmethod
|
||||||
def __create_user(username, email, password):
|
def __create_user(username, email, password):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user