1
0
mirror of https://github.com/bitwarden/server synced 2025-12-21 10:43:44 +00:00

admin base uri setting, applied to login emails

This commit is contained in:
Kyle Spearrin
2018-04-16 20:35:53 -04:00
parent 795cf8e20e
commit dead022e83
31 changed files with 59 additions and 119 deletions

View File

@@ -38,8 +38,7 @@ namespace Bit.Admin.Controllers
{
if(ModelState.IsValid)
{
await _signInManager.PasswordlessSignInAsync(model.Email,
Url.Action("Confirm", "Login", new { returnUrl = model.ReturnUrl }, Request.Scheme));
await _signInManager.PasswordlessSignInAsync(model.Email, model.ReturnUrl);
return RedirectToAction("Index", new
{
success = "If a valid admin user with this email address exists, " +