From d97ad8c2f68861050af5e91a1ec7619cd6d054c4 Mon Sep 17 00:00:00 2001 From: Ognjen Cirkovic Date: Mon, 31 Oct 2022 12:42:12 +0100 Subject: Ispravljen typo na backu. Dodato dugme za logout i implementovan logout. --- Backend/Api/Api/Services/UserService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Backend/Api') 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); } -- cgit v1.2.3