fix(#I12T0Y): 更新配置文件默认支持QQ兼容模式

#Comment
comment #I12T0Y

#Issue
link https://gitee.com/LongbowEnterprise/dashboard/issues?id=I12T0Y
This commit is contained in:
Argo Zhang 2019-09-28 08:56:43 +08:00
parent 8ed9a8c15e
commit cca7da1472
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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,