This commit is contained in:
mmrbnjd
2024-06-24 11:48:53 +03:30
parent 4412e920fd
commit a1d265bf7f
10 changed files with 52 additions and 34 deletions

View File

@@ -104,7 +104,8 @@
</div>
<div class="col-6">
<div class="postbox__forget text-end">
<a onclick="@ForgetPass">رمز عبور را فراموش کرده اید؟</a>
<Button Color="ButtonColor.Link" @onclick="ForgetPass">رمز عبور را فراموش کرده اید؟</Button>
</div>
</div>
</div>

View File

@@ -34,9 +34,9 @@ builder.Services.AddScoped(sp => new UserAuthenticationDTO()
}) ;
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7075/api/") });
//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7075/api/") });
//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://localhost:5271/api/") });
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://localhost:5271/api/") });
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("fa-Ir");

View File

@@ -33,6 +33,7 @@ namespace Front.Services
_user.enterDate = userinfomodel.enterDate;
_user.UserName= userinfomodel.UserName;
}
else { _httpClient.DefaultRequestHeaders.Clear(); }
}
}