reintroduce user update api path

This commit is contained in:
Christoph Kluge
2026-06-02 16:34:46 +02:00
parent 0bc0f29f0a
commit e06982db00
3 changed files with 72 additions and 10 deletions

View File

@@ -632,7 +632,7 @@ func securedCheck(user *schema.User, r *http.Request) error {
}
// If SplitHostPort fails, IPAddress is already just a host (no port)
// If nothing declared in config: Continue
// If nothing declared in config: Continue // FIXME: Allow All If Not Declared?
if len(config.Keys.APIAllowedIPs) == 0 {
return nil
}