Tuesday
How to add validations for the fields here and display error messages when the fields are empty?
connection: { fields: [ { name: "username", hint: "Your email used for login" }, { name: "password", optional: false, control_type: "password", } ], authorization: { type: "basic_auth", credentials: lambda do |connection| user(connection["username"]) password(connection["password"]) end } }