Try to fix refresh token length
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
||||
namespace T120B165_ImgBoard.Models;
|
||||
@@ -12,6 +13,7 @@ public static class UserRoles
|
||||
public class RefreshToken
|
||||
{
|
||||
[Key]
|
||||
[Column(TypeName = "LONGTEXT")]
|
||||
public string Token { get; set; }
|
||||
public User User { get; set; }
|
||||
public DateTime Expires { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user