mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-10 23:42:36 -07:00
Fixed the issue of it showing as not requested when we find it in Radarr.
Made the tv shows match a bit more to the movie requests Added the ability for plex and emby users to login Improved the welcome email, will only show for users that have not logged in Fixed discord notifications the about screen now checks if there is an update ready #1513
This commit is contained in:
parent
9556ed1b34
commit
057683d97a
32 changed files with 1039 additions and 108 deletions
|
@ -9,12 +9,13 @@ using Ombi.Store.Entities;
|
|||
using Microsoft.AspNetCore.Identity;
|
||||
using System.Linq;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Ombi.Core.Authentication;
|
||||
|
||||
namespace Ombi.Core.Engine.Interfaces
|
||||
{
|
||||
public abstract class BaseEngine
|
||||
{
|
||||
protected BaseEngine(IPrincipal user, UserManager<OmbiUser> um, IRuleEvaluator rules)
|
||||
protected BaseEngine(IPrincipal user, OmbiUserManager um, IRuleEvaluator rules)
|
||||
{
|
||||
UserPrinciple = user;
|
||||
Rules = rules;
|
||||
|
@ -23,7 +24,7 @@ namespace Ombi.Core.Engine.Interfaces
|
|||
|
||||
protected IPrincipal UserPrinciple { get; }
|
||||
protected IRuleEvaluator Rules { get; }
|
||||
protected UserManager<OmbiUser> UserManager { get; }
|
||||
protected OmbiUserManager UserManager { get; }
|
||||
protected string Username => UserPrinciple.Identity.Name;
|
||||
|
||||
private OmbiUser _user;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue