mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-03-12 11:48:39 -04:00
23 lines
769 B
C#
23 lines
769 B
C#
//-----------------------------------------------------------------------
|
|
// <copyright file="LoginModelRecoveryCode.cs" company="lanedirt">
|
|
// Copyright (c) lanedirt. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
|
|
// </copyright>
|
|
//-----------------------------------------------------------------------
|
|
|
|
namespace AliasVault.Shared.Models.WebApi.Auth;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
/// <summary>
|
|
/// Login model for two factor authentication step using a recovery code.
|
|
/// </summary>
|
|
public class LoginModelRecoveryCode
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the recovery code.
|
|
/// </summary>
|
|
[Required]
|
|
public string RecoveryCode { get; set; } = null!;
|
|
}
|