mirror of
https://github.com/bitwarden/server
synced 2025-12-20 02:03:46 +00:00
small fixes
This commit is contained in:
@@ -5,7 +5,6 @@ namespace Bit.Core.Models.Api
|
||||
{
|
||||
public class UpdateProfileRequestModel
|
||||
{
|
||||
[Required]
|
||||
[StringLength(50)]
|
||||
public string Name { get; set; }
|
||||
[StringLength(50)]
|
||||
|
||||
@@ -178,11 +178,6 @@ namespace Bit.Core.Repositories.SqlServer
|
||||
|
||||
public Task UpdateUserEmailPasswordAndCiphersAsync(User user, IEnumerable<Cipher> ciphers, IEnumerable<Folder> folders)
|
||||
{
|
||||
if(ciphers.Count() == 0)
|
||||
{
|
||||
return Task.FromResult(0);
|
||||
}
|
||||
|
||||
using(var connection = new SqlConnection(ConnectionString))
|
||||
{
|
||||
connection.Open();
|
||||
|
||||
Reference in New Issue
Block a user