diff --git a/src/Ombi/ClientApp/app/app.component.html b/src/Ombi/ClientApp/app/app.component.html
index 100e3e30a..c2c88fa30 100644
--- a/src/Ombi/ClientApp/app/app.component.html
+++ b/src/Ombi/ClientApp/app/app.component.html
@@ -28,7 +28,7 @@
User Management
diff --git a/src/Ombi/Controllers/TokenController.cs b/src/Ombi/Controllers/TokenController.cs
index 1a20af0c9..3e5ff9f07 100644
--- a/src/Ombi/Controllers/TokenController.cs
+++ b/src/Ombi/Controllers/TokenController.cs
@@ -53,7 +53,13 @@ namespace Ombi.Controllers
if (user == null)
{
- return new UnauthorizedResult();
+ // Could this be an email login?
+ user = await _userManager.FindByEmailAsync(model.Username);
+
+ if (user == null)
+ {
+ return new UnauthorizedResult();
+ }
}
// Verify Password