Crystal bindings: fix Authd parsing options.
This commit is contained in:
parent
f79938f441
commit
49698f11bd
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user