reset
This commit is contained in:
parent
66e4c1cdc0
commit
42df84dc4f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue