Archived
3
0

Crystal bindings: fix Authd parsing options.

This commit is contained in:
Philippe Pittoli 2023-02-03 02:50:33 +01:00
parent f79938f441
commit 49698f11bd

View File

@ -193,11 +193,11 @@ begin
configuration.shared_key = File.read(file_name).chomp configuration.shared_key = File.read(file_name).chomp
end end
parser.on "-R", "--allow-registrations" do parser.on "-R", "--allow-registrations", "Allow user registration." do
configuration.registrations = true configuration.registrations = true
end end
parser.on "-E", "--require-email" do parser.on "-E", "--require-email", "Require an email." do
configuration.require_email = true configuration.require_email = true
end end