blob: bbdcab76bf5268a5cb81b5a915f847af2699297e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
module DeviceRegistrationHelper
def device_registration_data(current_password_required:, target_path:, webauthn_error:)
{
initial_error: webauthn_error && webauthn_error[:message],
target_path: target_path,
password_required: current_password_required.to_s
}
end
end
|