fix(#I12T0Y): 更新配置文件默认支持QQ兼容模式
#Comment comment #I12T0Y #Issue link https://gitee.com/LongbowEnterprise/dashboard/issues?id=I12T0Y
This commit is contained in:
parent
8ed9a8c15e
commit
cca7da1472
|
@ -21,7 +21,6 @@ namespace Bootstrap.Admin.Controllers
|
||||||
/// Account controller.
|
/// Account controller.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[AutoValidateAntiforgeryToken]
|
|
||||||
public class AccountController : Controller
|
public class AccountController : Controller
|
||||||
{
|
{
|
||||||
private const string MobileSchema = "Mobile";
|
private const string MobileSchema = "Mobile";
|
||||||
|
@ -125,6 +124,7 @@ namespace Bootstrap.Admin.Controllers
|
||||||
/// <param name="password">Password.</param>
|
/// <param name="password">Password.</param>
|
||||||
/// <param name="remember">Remember.</param>
|
/// <param name="remember">Remember.</param>
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
|
[IgnoreAntiforgeryToken]
|
||||||
public async Task<IActionResult> Login(string userName, string password, string remember)
|
public async Task<IActionResult> Login(string userName, string password, string remember)
|
||||||
{
|
{
|
||||||
var auth = UserHelper.Authenticate(userName, password);
|
var auth = UserHelper.Authenticate(userName, password);
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"
|
"ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"
|
||||||
},
|
},
|
||||||
"SupportQQBrowser": false,
|
"SupportQQBrowser": true,
|
||||||
"DB": [
|
"DB": [
|
||||||
{
|
{
|
||||||
"Enabled": false,
|
"Enabled": false,
|
||||||
|
|
Loading…
Reference in New Issue