1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-04 09:32:48 -05:00

success/error messages for admin

This commit is contained in:
Kyle Spearrin
2018-03-28 10:38:01 -04:00
parent 674077d453
commit 40dff2cd6e
6 changed files with 41 additions and 8 deletions

View File

@ -47,6 +47,13 @@ namespace Bit.Admin
// Identity
services.AddPasswordlessIdentityServices<ReadOnlyEnvIdentityUserStore>(globalSettings);
if(globalSettings.SelfHosted)
{
services.ConfigureApplicationCookie(options =>
{
options.Cookie.Path = "/admin";
});
}
// Services
services.AddBaseServices();