mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 18:47:15 -07:00
Fixed #832
This commit is contained in:
parent
841c9cdf54
commit
b3c7d83529
4 changed files with 8 additions and 20 deletions
|
@ -167,6 +167,9 @@ namespace Ombi.Services.Jobs
|
|||
// Main Plex user
|
||||
var dbMainAcc = dbUsers.FirstOrDefault(x => x.Username.Equals(mainPlexAccount.Username, StringComparison.CurrentCulture));
|
||||
var localMainAcc = localUsers.FirstOrDefault(x => x.UserName.Equals(mainPlexAccount.Username, StringComparison.CurrentCulture));
|
||||
|
||||
// TODO if admin acc does exist, check if we need to update it
|
||||
|
||||
|
||||
// Create the local admin account if it doesn't already exist
|
||||
if (dbMainAcc == null && localMainAcc == null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue