mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 16:42:50 -05:00
success/error messages for admin
This commit is contained in:
@ -220,7 +220,7 @@ namespace Bit.Core.Utilities
|
||||
{
|
||||
options.LoginPath = "/login";
|
||||
options.LogoutPath = "/";
|
||||
options.AccessDeniedPath = "/login?accessDenied=1";
|
||||
options.AccessDeniedPath = "/login?accessDenied=true";
|
||||
options.Cookie.Name = $"Bitwarden_{globalSettings.ProjectName}";
|
||||
options.Cookie.HttpOnly = true;
|
||||
options.Cookie.Expiration = options.ExpireTimeSpan = TimeSpan.FromDays(2);
|
||||
|
Reference in New Issue
Block a user