Templates can't be used in setting up plans any more
Description
Hi there,
i wanted to set up some new plans for my clients by using my configured templates. On Backup Schedules i chose one of my templates but none of the predefined values (Backup Directories, Exclude Patterns, ...) are shown. This also happens when i choose your standard templates.
I received no error messages.
Here are two pictures showing template setting:
...and Backup Schedules
Cheers
Steps to Reproduce
Set up a nes plan and chosse a template
Installation Type
Docker
BBS Version
2.26.4
Agent Version (if applicable)
2.25.0
Agent OS (if applicable)
None
Relevant Logs
A previous change (the fix for the empty session files issue) was too aggressive and skipped session startup for all /api/* routes, including the browser-called ones like /api/templates/{id} that rely on your login session. That's why picking a template did nothing.
Fixed in the next release — sessions are now only skipped for agent Bearer-token endpoints (/api/agent/*). Thanks for reporting!
Fixed in https://github.com/marcpope/borgbackupserver/releases/tag/v2.26.5