aboutsummaryrefslogtreecommitdiff
path: root/Backend
diff options
context:
space:
mode:
authorOgnjen Cirkovic <ciraboxkg@gmail.com>2022-10-31 12:42:12 +0100
committerOgnjen Cirkovic <ciraboxkg@gmail.com>2022-10-31 12:42:12 +0100
commitd97ad8c2f68861050af5e91a1ec7619cd6d054c4 (patch)
tree7192e05ecdd57244a6ab2ff92922e522bf88ee58 /Backend
parente6152b979c627a672236a2ddf6c65afa2b62f234 (diff)
Ispravljen typo na backu. Dodato dugme za logout i implementovan logout.
Diffstat (limited to 'Backend')
-rw-r--r--Backend/Api/Api/Services/UserService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend/Api/Api/Services/UserService.cs b/Backend/Api/Api/Services/UserService.cs
index 84c4465..3002f34 100644
--- a/Backend/Api/Api/Services/UserService.cs
+++ b/Backend/Api/Api/Services/UserService.cs
@@ -221,7 +221,7 @@ namespace Api.Services
try
{
client.Connect(_configuration.GetSection("EmailCfg:SmtpServer").Value, 465, true);
- client.Authenticate(_configuration.GetSection("EmailCfg:Email").Value, _configuration.GetSection("EmailCofg:Password").Value);
+ client.Authenticate(_configuration.GetSection("EmailCfg:Email").Value, _configuration.GetSection("EmailCfg:Password").Value);
client.Send(message);
}