From e714aadab350b5743f0399202e2d4b88cfdd3a27 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Fri, 29 May 2026 21:55:57 -0400 Subject: [PATCH] Simplify registration: direct users to Bookhoard web UI Instead of showing a long auth URL that's impractical to type on e-ink, tell users to open their Bookhoard web UI and approve from Device Management. Uses persistent InfoMessage (no timeout) so the message stays visible while they switch devices. --- main.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.lua b/main.lua index ce2d03d..a64e580 100644 --- a/main.lua +++ b/main.lua @@ -510,11 +510,9 @@ function Bookhoard:startRegistration() end self.registration_id = result.registration_id - local auth_url = result.auth_url UIManager:show(InfoMessage:new{ - text = T(_("Open this URL on your phone or computer to approve this device:\n\n%1\n\nWaiting for approval…"), auth_url), - timeout = 30, + text = T(_("Device registered on server.\n\nOpen your Bookhoard web UI, go to Device Management, and approve this device:\n\n%1\n\nWaiting for approval…"), self.settings.server_url), }) self:startRegistrationPoll()