pull/854/head
Jamie.Rees 8 years ago
parent 262a90e05c
commit ad2169ca17

@ -57,6 +57,7 @@ namespace Ombi.UI.Modules.Admin
WatcherSettings = watcher;
Analytics = a;
CpSettings = cp;
Before += (ctx) => Security.AdminLoginRedirect(Permissions.Administrator, ctx);

@ -101,7 +101,8 @@ namespace Ombi.UI.Modules
|| x.Name.Equals(JobNames.PlexChecker)
|| x.Name.Equals(JobNames.SonarrCacher)
|| x.Name.Equals(JobNames.SrCacher)
|| x.Name.Equals(JobNames.PlexCacher));
|| x.Name.Equals(JobNames.PlexCacher)
|| x.Name.Equals(JobNames.WatcherCacher));
return Response.AsJson(cacherJobs.Any()

@ -1,4 +1,5 @@
@using Ombi.UI.Resources
@using Ombi.UI.Helpers
@using Ombi.UI.Resources
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Ombi.Core.SettingModels.AuthenticationSettings>
<div class="home">
@ -30,7 +31,7 @@
<script>
$(function () {
var base = $('#baseUrl').val();
var base = '@Html.GetBaseUrl()';
$('#contentBody').on('click', '#loginBtn', function (e) {
e.preventDefault();

Loading…
Cancel
Save