Add metadataid, original language metadata and genres

This commit is contained in:
2023-03-22 18:21:57 +09:00
parent 1167cfa3a4
commit c894f33c11
4 changed files with 60 additions and 40 deletions

View File

@@ -112,9 +112,9 @@ namespace Kyoo.Authentication
IssuerSigningKey = key
}, out SecurityToken _);
}
catch (Exception ex)
catch (Exception)
{
throw new SecurityTokenException(ex.Message);
throw new SecurityTokenException("Invalid refresh token");
}
if (principal.Claims.First(x => x.Type == Claims.Type).Value != "refresh")