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:
1 parent
b1fcf2ce95
commit
e9cd445ff3
3 files changed
+158
-50
No files matched your search
@@ -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