This commit is contained in:
henrydays 2019-04-06 21:57:02 +01:00
parent 66e4c1cdc0
commit 42df84dc4f
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ namespace api.Controllers
public async Task<IActionResult> resetPassword(string user)
{
string cenas = "Pua";
using (var client = new HttpClient())
{
try
@ -47,7 +47,7 @@ namespace api.Controllers
// client.DefaultRequestHeaders.Add("Authorization", "Bearer " + a.token);
var response = await client.GetStringAsync(url);
return Ok(user);
return View("Views/Landing/resetPage.cshtml");
}
catch (HttpRequestException a)