Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ActionResult LoginBalieUser(LoginModel model)
- {
- var salesAgent = CommerceFramework.ShopAccounts.GetShopAccount(Guid.Parse("3E90BB13-36BA-435D-8ED7-E930A4F8C758"), true);
- model.Password = "EielKrkK4Gh5T95aUfY149YtbaFXEia7dAjTP0IyWaY=";
- if (model.UserName == "info@verploegen.nl")
- {
- if (model.UserName == "info@verploegen.nl" && model.Password == "EielKrkK4Gh5T95aUfY149YtbaFXEia7dAjTP0IyWaY=")
- {
- if (!ModelState.IsValid)
- return View(model);
- }
- if (!ShopApi.UserState.Login(model.UserName, model.Password, model.RememberMe))
- {
- ModelState.AddModelError("", "");
- return View(model);
- }
- }
- return RedirectToAction("Login", "Profile");
- }
- if (!ModelState.IsValid)
- <FieldsDictionary>
- <field name="Password" type="System.String, mscorlib">
- <string>EielKrkK4Gh5T95aUfY149YtbaFXEia7dAjTP0IyWaY=</string>
- </field>
- <field name="Salt" type="System.String, mscorlib">
- <string>vn73BOyHEIzE/SxFxYrCSA==</string>
- </field>
- <field name="AccountDisplayName" type="Null" />
- <field name="CanOrderProducts" type="System.Boolean, mscorlib">
- <boolean>true</boolean>
- </field>
- <field name="CanSeePrices" type="System.Boolean, mscorlib">
- <boolean>true</boolean>
- </field>
- <field name="CanSeeStock" type="System.Boolean, mscorlib">
- <boolean>true</boolean>
- </field>
- <field name="HasLimitedBudget" type="System.Boolean, mscorlib">
- <boolean>false</boolean>
- </field>
- </FieldsDictionary>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement