mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
update login page
This commit is contained in:
parent
4b83dd4b56
commit
32454bdfe1
@ -496,7 +496,7 @@ namespace MediaBrowser.Controller.Entities
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <typeparam name="T"></typeparam>
|
/// <typeparam name="T"></typeparam>
|
||||||
/// <returns>``0.</returns>
|
/// <returns>``0.</returns>
|
||||||
protected T FindParent<T>()
|
public T FindParent<T>()
|
||||||
where T : Folder
|
where T : Folder
|
||||||
{
|
{
|
||||||
return Parents.OfType<T>().FirstOrDefault();
|
return Parents.OfType<T>().FirstOrDefault();
|
||||||
|
@ -281,10 +281,10 @@ namespace MediaBrowser.Server.Implementations.Library
|
|||||||
|
|
||||||
if (newValue >= maxCount)
|
if (newValue >= maxCount)
|
||||||
{
|
{
|
||||||
_logger.Debug("Disabling user {0} due to {1} unsuccessful login attempts.", user.Name, newValue.ToString(CultureInfo.InvariantCulture));
|
//_logger.Debug("Disabling user {0} due to {1} unsuccessful login attempts.", user.Name, newValue.ToString(CultureInfo.InvariantCulture));
|
||||||
user.Policy.IsDisabled = true;
|
//user.Policy.IsDisabled = true;
|
||||||
|
|
||||||
fireLockout = true;
|
//fireLockout = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
await UpdateUserPolicy(user, user.Policy, false).ConfigureAwait(false);
|
await UpdateUserPolicy(user, user.Policy, false).ConfigureAwait(false);
|
||||||
|
@ -767,5 +767,8 @@
|
|||||||
"SyncJobItemStatusCancelled": "Cancelled",
|
"SyncJobItemStatusCancelled": "Cancelled",
|
||||||
"LabelProfile": "Profile:",
|
"LabelProfile": "Profile:",
|
||||||
"LabelBitrateMbps": "Bitrate (Mbps):",
|
"LabelBitrateMbps": "Bitrate (Mbps):",
|
||||||
"EmbyIntroDownloadMessage": "To download and install Emby Server visit {0}."
|
"EmbyIntroDownloadMessage": "To download and install Emby Server visit {0}.",
|
||||||
|
"ButtonNewServer": "New Server",
|
||||||
|
"ButtonSignInWithConnect": "Sign in with Emby Connect",
|
||||||
|
"HeaderNewServer": "New Server"
|
||||||
}
|
}
|
||||||
|
@ -1441,11 +1441,11 @@
|
|||||||
"EmbyIntroMessage": "With Emby you can easily stream videos, music and photos to smart phones, tablets and other devices from your Emby Server.",
|
"EmbyIntroMessage": "With Emby you can easily stream videos, music and photos to smart phones, tablets and other devices from your Emby Server.",
|
||||||
"ButtonSkip": "Skip",
|
"ButtonSkip": "Skip",
|
||||||
"TextConnectToServerManually": "Connect to server manually",
|
"TextConnectToServerManually": "Connect to server manually",
|
||||||
"ButtonNewServer": "New Server",
|
|
||||||
"ButtonSignInWithConnect": "Sign in with Emby Connect",
|
"ButtonSignInWithConnect": "Sign in with Emby Connect",
|
||||||
"HeaderNewServer": "New Server",
|
|
||||||
"ButtonConnect": "Connect",
|
"ButtonConnect": "Connect",
|
||||||
"LabelServerHost": "Host:",
|
"LabelServerHost": "Host:",
|
||||||
"LabelServerHostHelp": "192.168.1.100 or https://myserver.com",
|
"LabelServerHostHelp": "192.168.1.100 or https://myserver.com",
|
||||||
"LabelServerPort": "Port:"
|
"LabelServerPort": "Port:",
|
||||||
|
"HeaderNewServer": "New Server",
|
||||||
|
"ButtonChangeServer": "Change Server"
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,7 @@
|
|||||||
<Content Include="dashboard-ui\css\images\kids\bg.jpg">
|
<Content Include="dashboard-ui\css\images\kids\bg.jpg">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="dashboard-ui\css\images\server.png">
|
<Content Include="dashboard-ui\css\images\logo536.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="dashboard-ui\css\images\splash.jpg">
|
<Content Include="dashboard-ui\css\images\splash.jpg">
|
||||||
|
Loading…
Reference in New Issue
Block a user