mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-28 17:38:54 +01:00
Provide command for ODBC's convert_to_scram
This commit is contained in:
parent
8df134e025
commit
19aad464da
@ -167,6 +167,10 @@ commands() ->
|
|||||||
desc = "Export all tables as SQL queries to a file",
|
desc = "Export all tables as SQL queries to a file",
|
||||||
module = ejd2odbc, function = export,
|
module = ejd2odbc, function = export,
|
||||||
args = [{host, string}, {file, string}], result = {res, rescode}},
|
args = [{host, string}, {file, string}], result = {res, rescode}},
|
||||||
|
#ejabberd_commands{name = convert_to_scram, tags = [odbc],
|
||||||
|
desc = "Convert the passwords in 'users' ODBC table to SCRAM",
|
||||||
|
module = ejabberd_auth_odbc, function = convert_to_scram,
|
||||||
|
args = [{host, binary}], result = {res, rescode}},
|
||||||
|
|
||||||
#ejabberd_commands{name = convert_to_yaml, tags = [config],
|
#ejabberd_commands{name = convert_to_yaml, tags = [config],
|
||||||
desc = "Convert the input file from Erlang to YAML format",
|
desc = "Convert the input file from Erlang to YAML format",
|
||||||
|
Loading…
Reference in New Issue
Block a user