This commit is contained in:
tidusjar 2019-03-27 10:41:52 +00:00
commit bc697a03e9
3 changed files with 2 additions and 11723 deletions

View file

@ -158,7 +158,7 @@ namespace Ombi.Core.Authentication
if (!email.Equals(result.User?.Email))
{
user.Email = result.User?.Email;
await UpdateAsync(user);
await GlobalMutex.Lock(async () => await UpdateAsync(user));
}
return true;

View file

@ -1,6 +1,6 @@
export function getBaseLocation() {
debugger;
let paths: string[] = location.pathname.split('/').splice(1, 1);
let basePath: string = (paths && paths[0]) || 'discover'; // Default: discover
let basePath: string = (paths && paths[0] ? paths[0] : "");
return '/' + basePath;
}

11721
src/Ombi/package-lock.json generated

File diff suppressed because it is too large Load diff