1
0
mirror of https://github.com/bitwarden/server synced 2025-12-16 16:23:31 +00:00

deprecated logins api and moved to ciphers

This commit is contained in:
Kyle Spearrin
2017-09-20 23:52:45 -04:00
parent 3fdf2eb4ad
commit 12650a0ada
6 changed files with 171 additions and 77 deletions

View File

@@ -89,18 +89,4 @@ namespace Bit.Core.Models.Api
return existingLogin;
}
}
public class LoginWithIdRequestModel : LoginRequestModel
{
public Guid Id { get; set; }
public Cipher ToCipher(Guid userId)
{
return ToCipherDetails(new CipherDetails
{
UserId = userId,
Id = Id
});
}
}
}