public IActionResult ChangePassword(ChangePasswordModel model) { var userEmail = User.Claims.FirstOrDefault(c => c.Type == ClaimTypes.Email).Value; _korisnikService.ChangePassword(userEmail, model); return(Ok("Password uspješno promijenjen!")); }