pull/3895/head
tidusjar 6 years ago
commit bc697a03e9

@ -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;

@ -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;
}

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save