mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Provide command for ODBC's convert_to_scram
This commit is contained in:
parent
8df134e025
commit
19aad464da
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue