Skip to content

Commit

Permalink
Test No3
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Jan 15, 2023
1 parent 943f5c2 commit 6fd3aba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/design/adminhtml/default/openmage/template/login.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<div class="clear"></div>
<div class="form-buttons">
<a class="left" href="<?php echo Mage::helper('adminhtml')->getUrl('adminhtml/index/forgotpassword', ['_nosecret' => true]) ?>"><?php echo Mage::helper('adminhtml')->__('Forgot your password?') ?></a>
<input type="submit" class="form-button" value="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('adminhtml')->__('Login')) ?>" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('adminhtml')->__('Login')) ?>" />
<input type="submit" class="link-login form-button" value="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('adminhtml')->__('Login')) ?>" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('adminhtml')->__('Login')) ?>" />
</div>
</div>
<p class="legal"><?php echo Mage::helper('adminhtml')->__('Powered by OpenMage') ?></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ protected function authorize()
$this->transport->write($url, $data, CurlInterface::POST, []);
$response = $this->read();

if (!strpos($response, 'link-logout')) {
if (!strpos($response, 'link-login')) {
throw new \Exception(
// "Admin user cannot be logged in by curl handler!"
sprintf(
Expand Down

0 comments on commit 6fd3aba

Please sign in to comment.