Ombi: Integrate with profiles, Retire user defaults

NOTE: If you previously used the Ombi integration, New ombi users
won't be created until you set this up.

Ombi settings can be added to a profile in Settings > User Profiles.
The "Modify settings" options will now apply to ombi if the selected
profile has ombi settings.
This commit is contained in:
Harvey Tindall
2021-11-13 18:53:53 +00:00
parent c988239fa8
commit 4da1c8c2b6
12 changed files with 186 additions and 58 deletions

View File

@@ -217,5 +217,6 @@ func (ombi *Ombi) NewUser(username, password, email string, template map[string]
}
return lst, code, err
}
ombi.cacheExpiry = time.Now()
return nil, code, err
}