diff options
author | Kim Alvefur <zash@zash.se> | 2023-02-23 16:24:41 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-02-23 16:24:41 +0100 |
commit | 931c14e50b186f65c2f57309147dda54d12bb02a (patch) | |
tree | e13171ae7fc1acff25669e37541b8d1a3efdc4f6 /teal-src | |
parent | ef6ad34029730e300975d9e2b86d6aa8d8043b24 (diff) | |
download | prosody-931c14e50b186f65c2f57309147dda54d12bb02a.tar.gz prosody-931c14e50b186f65c2f57309147dda54d12bb02a.zip |
core.usermanager: Add methods for enabling and disabling users
Calling into the auth module, where available.
Diffstat (limited to 'teal-src')
-rw-r--r-- | teal-src/core/usermanager.d.tl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/teal-src/core/usermanager.d.tl b/teal-src/core/usermanager.d.tl index 23bec060..a546a53c 100644 --- a/teal-src/core/usermanager.d.tl +++ b/teal-src/core/usermanager.d.tl @@ -18,6 +18,9 @@ local record usermanager user_exists : function (username : string, host : string) : boolean create_user : function (username : string, password : string, host : string) : boolean, string delete_user : function (username : string, host : string) : boolean, string + user_is_enabled : function (username : string, host : string) : boolean, string + enable_user : function (username : string, host : string) : boolean, string + disable_user : function (username : string, host : string) : boolean, string users : function (host : string) : function () : string -- Roles |