feat: add device token management UI
- Display sync URLs for Kobo devices with copy button - Display auth tokens for KOReader devices with copy button - Add regenerate token button with confirmation - Show warning about token invalidation
This commit is contained in:
@@ -168,7 +168,7 @@ func registerFrontendRoutes(cfg *Config) {
|
||||
}
|
||||
pendingList := convertPending(pendingMaps)
|
||||
var buf bytes.Buffer
|
||||
err = templates.Devices(user, devices, pendingList).Render(c.Request().Context(), &buf)
|
||||
err = templates.Devices(user, devices, pendingList, cfg.Cfg.BaseURL).Render(c.Request().Context(), &buf)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user