Clarify device registration with type-specific helper text.
Deploy Ladill Frontdesk / deploy (push) Successful in 30s
Deploy Ladill Frontdesk / deploy (push) Successful in 30s
Replace the static kiosk/printer token message with dynamic hints per device type so reception computers are not misread as getting unattended access. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -61,7 +61,7 @@ class DeviceController extends Controller
|
||||
'reception_desk_id' => ['nullable', 'integer'],
|
||||
]);
|
||||
|
||||
$token = in_array($validated['type'], ['kiosk', 'badge_printer', 'qr_scanner'], true)
|
||||
$token = in_array($validated['type'], config('frontdesk.device_token_types', []), true)
|
||||
? $devices->generateToken()
|
||||
: null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user