Commit Graph

3 Commits

Author SHA1 Message Date
c6bdb7f825 fix: allow profile sync for admin-created users
Stop pinning usernames on admin Add (manual_username=false) so sync matches
invoice-created users. Add migration to reset manual_username for existing
rows so they re-enter ListForSync; explicit renames still pin via SetUsername.
2026-05-06 19:22:34 +00:00
14fcce50af Make subscription_type, username, and years optional on POST /v1/admin/users
- subscription_type defaults to lifetime when omitted; validated when provided
- years is only required (and enforced) when subscription_type is yearly
- username uniqueness check and validation are skipped when username is empty
- Update OpenAPI spec to reflect pubkey as the only required field
2026-05-05 04:02:36 +00:00
2cb17df4c5 first commit 2026-04-29 02:35:00 +00:00