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
commitaf5bab651a56a04468654c06057ab6d5ee28f18b (patch)
tree9d5a169be5aff26a5224c1997b4d47ba486a550a /BackEnd/Timeline/Services/Token/UserTokenHandler.cs
parent2075e4098025001073b5eca025632cbb3199c316 (diff)
downloadtimeline-af5bab651a56a04468654c06057ab6d5ee28f18b.tar.gz
timeline-af5bab651a56a04468654c06057ab6d5ee28f18b.tar.bz2
timeline-af5bab651a56a04468654c06057ab6d5ee28f18b.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);