aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/Token/UserTokenHandler.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-29 19:17:03 +0800
committercrupest <crupest@outlook.com>2021-04-29 19:17:03 +0800
commit3f955b03f9b0356b3cf4234f160ad317554136ed (patch)
tree0e1751b9bb71b75999b63aeafd297f31706fbdd5 /BackEnd/Timeline/Services/Token/UserTokenHandler.cs
parentfb3e62c89daa4ea497d544355a46a599ad29df25 (diff)
downloadtimeline-3f955b03f9b0356b3cf4234f160ad317554136ed.tar.gz
timeline-3f955b03f9b0356b3cf4234f160ad317554136ed.tar.bz2
timeline-3f955b03f9b0356b3cf4234f160ad317554136ed.zip
refactor: ...
Diffstat (limited to 'BackEnd/Timeline/Services/Token/UserTokenHandler.cs')
-rw-r--r--BackEnd/Timeline/Services/Token/UserTokenHandler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Services/Token/UserTokenHandler.cs b/BackEnd/Timeline/Services/Token/UserTokenHandler.cs
index 7b57a06c..c1633f4a 100644
--- a/BackEnd/Timeline/Services/Token/UserTokenHandler.cs
+++ b/BackEnd/Timeline/Services/Token/UserTokenHandler.cs
@@ -29,7 +29,7 @@ namespace Timeline.Services.Token
if (key == null)
{
- throw new InvalidOperationException(Resources.Services.UserTokenService.JwtKeyNotExist);
+ throw new InvalidOperationException(Resource.ExceptionJwtKeyNotExist);
}
_tokenSecurityKey = new SymmetricSecurityKey(key);