Version Notes
bug fixes
Download this release
Release Info
Developer | miniOrange inc. |
Extension | miniOrange_2factor |
Version | 1.0.6 |
Comparing to | |
See all releases |
Code changes from version 1.0.5 to 1.0.6
app/code/community/miniOrange/2factor/Controllers/Adminhtml/IndexController.php
CHANGED
@@ -107,7 +107,6 @@ class MiniOrange_2factor_Adminhtml_IndexController extends Mage_Adminhtml_Contro
|
|
107 |
if(strcasecmp($content['status'], 'SUCCESS') == 0) { //OTP validated and generate QRCode
|
108 |
$adminregistered = $helper->getConfig('mainAdmin',$id);
|
109 |
if($adminregistered==null){
|
110 |
-
Mage();
|
111 |
$this->mo2f_create_customer();
|
112 |
}
|
113 |
else{
|
107 |
if(strcasecmp($content['status'], 'SUCCESS') == 0) { //OTP validated and generate QRCode
|
108 |
$adminregistered = $helper->getConfig('mainAdmin',$id);
|
109 |
if($adminregistered==null){
|
|
|
110 |
$this->mo2f_create_customer();
|
111 |
}
|
112 |
else{
|
app/code/community/miniOrange/2factor/etc/config.xml
CHANGED
@@ -7,10 +7,28 @@
|
|
7 |
<!-- This must exactly match the namespace and module's folder names, with directory separators replaced by underscores -->
|
8 |
<MiniOrange_2factor>
|
9 |
<!-- The version of our module -->
|
10 |
-
<version>1.0.
|
11 |
</MiniOrange_2factor>
|
12 |
</modules>
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
<!-- we are making changes to the backend -->
|
15 |
<admin>
|
16 |
<routers>
|
@@ -94,8 +112,25 @@
|
|
94 |
</miniorange_2factor_layout_observe>
|
95 |
</observers>
|
96 |
</controller_action_layout_generate_blocks_before>
|
97 |
-
|
98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
<!-- Defining our resources -->
|
100 |
<resources>
|
101 |
<MiniOrange_2factor_setup>
|
7 |
<!-- This must exactly match the namespace and module's folder names, with directory separators replaced by underscores -->
|
8 |
<MiniOrange_2factor>
|
9 |
<!-- The version of our module -->
|
10 |
+
<version>1.0.6</version>
|
11 |
</MiniOrange_2factor>
|
12 |
</modules>
|
13 |
+
<!-- We are making changes to the frontend-->
|
14 |
+
<!--<frontend>
|
15 |
+
<routers>
|
16 |
+
<MiniOrange_2factor_customer>
|
17 |
+
<use>standard</use>
|
18 |
+
<args>
|
19 |
+
<module>MiniOrange_2factor_Customer</module>
|
20 |
+
<frontName>twofactorauth</frontName>
|
21 |
+
</args>
|
22 |
+
</MiniOrange_2factor_customer>
|
23 |
+
</routers>
|
24 |
+
<layout>
|
25 |
+
<updates>
|
26 |
+
<miniOrange_2factor_layout>
|
27 |
+
<file>miniorange_2factor_layout.xml</file>
|
28 |
+
</miniOrange_2factor_layout>
|
29 |
+
</updates>
|
30 |
+
</layout>
|
31 |
+
</frontend>-->
|
32 |
<!-- we are making changes to the backend -->
|
33 |
<admin>
|
34 |
<routers>
|
112 |
</miniorange_2factor_layout_observe>
|
113 |
</observers>
|
114 |
</controller_action_layout_generate_blocks_before>
|
115 |
+
|
116 |
+
<customer_login>
|
117 |
+
<observers>
|
118 |
+
<miniorange_login>
|
119 |
+
<class>MiniOrange_2factor/observer</class>
|
120 |
+
<method>customerLogin</method>
|
121 |
+
</miniorange_login>
|
122 |
+
</observers>
|
123 |
+
</customer_login>
|
124 |
+
<customer_customer_authenticated>
|
125 |
+
<observers>
|
126 |
+
<miniorange_login_authenticated>
|
127 |
+
<type>singleton</type>
|
128 |
+
<class>MiniOrange_2factor/observer</class>
|
129 |
+
<method>customerAuthenticateAfter</method>
|
130 |
+
</miniorange_login_authenticated>
|
131 |
+
</observers>
|
132 |
+
</customer_customer_authenticated>
|
133 |
+
</events>-->
|
134 |
<!-- Defining our resources -->
|
135 |
<resources>
|
136 |
<MiniOrange_2factor_setup>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>miniOrange_2factor</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/licenses/gpl-2.0.html">GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
@@ -23,8 +23,8 @@ For support please email us at info@miniorange.com or call us at +1 978 658 9387
|
|
23 |
<notes>bug fixes</notes>
|
24 |
<authors><author><name>miniOrange inc.</name><user>miniOrange</user><email>info@miniorange.com</email></author></authors>
|
25 |
<date>2015-08-27</date>
|
26 |
-
<time>
|
27 |
-
<contents><target name="magecommunity"><dir name="miniOrange"><dir name="2factor"><dir name="Block"><file name="mo2fConfig.php" hash="f346c34cfde56cb966956e318ec5ba8c"/></dir><dir name="Controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="
|
28 |
<compatible/>
|
29 |
<dependencies><required><php><min>5.3.10</min><max>5.6.11</max></php><extension><name>curl</name><min>7.40.0</min><max>7.44.0</max></extension></required></dependencies>
|
30 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>miniOrange_2factor</name>
|
4 |
+
<version>1.0.6</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/licenses/gpl-2.0.html">GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
23 |
<notes>bug fixes</notes>
|
24 |
<authors><author><name>miniOrange inc.</name><user>miniOrange</user><email>info@miniorange.com</email></author></authors>
|
25 |
<date>2015-08-27</date>
|
26 |
+
<time>13:00:13</time>
|
27 |
+
<contents><target name="magecommunity"><dir name="miniOrange"><dir name="2factor"><dir name="Block"><file name="mo2fConfig.php" hash="f346c34cfde56cb966956e318ec5ba8c"/></dir><dir name="Controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="a055760a345d189dc5b6ddb16af68ee2"/><dir name="Login"><file name="miniOrangeController.php" hash="78d1f305733dc764a87229ea4646a479"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="3a2351470af49914b3a233d0a28a850f"/><file name="mo2fUtility.php" hash="e4a203051b31feeec976d0a25ed277a6"/></dir><dir name="Model"><file name="Observer.php" hash="65fb169508d5043da2ae98386d0f588a"/><file name="Words.php" hash="ee26cc8582d5bbad5632a6e02129f815"/></dir><dir name="etc"><file name="adminhtml.xml" hash="955f9f87d1a5df39eea9fd69379af0ee"/><file name="config.xml" hash="82230dca085cfa97f8bfdbb8f4960ec9"/></dir><dir name="sql"><dir name="MiniOrange_2factor_setup"><file name="mysql4-install-0.0.1.php" hash="e91ca384273d63ae47efe68c4830c85f"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="miniorange_2factor_admin.xml" hash="49671205b07f54681d1f93fec9ee4d67"/></dir><dir name="template"><dir name="miniorange_2factor"><file name="login.phtml" hash="36f8b7177bafaf4e916b1d9e5f382e50"/><file name="mo2fConfig.phtml" hash="c081fca498b12e919b67ea879209285d"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="miniorange_2factor.xml" hash="609cb91239fb4a89f64ae28d4b5b5398"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="MiniOrange_2factor"><file name="appstore.png" hash="1ac5eb0f971fd8cbeac4d3e4449cd9f0"/><file name="arrow.png" hash="47bdba61de621d8ca74c16f6dd5b6565"/><file name="authenticate.png" hash="052bcae5504f3a9c61365ecf8ab0c4e7"/><file name="authvalidate.png" hash="a01eaf3a0002b3e7115813fd4e4efe1a"/><file name="cachesetting.png" hash="15942adf97c0d48abdf2c583c94eb4f5"/><file name="clickconfiguremobile.png" hash="3ee49ca9596e3ad507d66aca43466ea3"/><file name="clickconfiguremobile2.png" hash="fc0ff15007ea57e3ceef75235056dc88"/><file name="configurefirsttime.png" hash="c6982bcd3f70080d893e3da11d2a77d8"/><file name="configuremobile.png" hash="013d6599af7a31fb53a895d877ab1ffe"/><file name="forgot-phone.png" hash="64cfe82547e4db88d025346477025cfe"/><file name="forgotphone.png" hash="4272645ec478f1479fc3dc56df5dd89b"/><file name="loggedin.png" hash="70cc5cad9c475ef9420aa3d70bc43102"/><file name="login1.png" hash="c0dce259d0e2e84957ba77c6e2e78abb"/><file name="login2.png" hash="99e2c32c2fd5f9c9acf6a8002e1d44ac"/><file name="login3.png" hash="305c7bbdb97da888970b7225641757f0"/><file name="loginsettings.png" hash="811b9792a0e47f7e483d01a7ded0ccd0"/><file name="mail.png" hash="751f9588f2e2aac3ec47a6b0ebb2fa4d"/><file name="miniorange_logo.png" hash="b1cd21c2deeb5f199fb55de487bf950b"/><file name="mobileconfigurebutton.png" hash="747a6057cd50099e1cb3b5041320bd85"/><file name="mobilescan.png" hash="dec68c53b12944a45140d909af803fdd"/><file name="mobilesuccess.png" hash="d977fd41088cf0677f33e77de13da56c"/><file name="otp.png" hash="74dc1d7644af2013d256852d26bc920b"/><file name="phone-offline.png" hash="81b25f8125b13fd4d96c23a6fa84574e"/><file name="playStore.png" hash="fbca6f8b28d05c3bcd833965289a20c2"/><file name="processing.png" hash="56b1a14bd1558354250a7a232a4d16e7"/><file name="register.png" hash="37be41049f1d79215322a8cf908bf7b3"/><file name="right.png" hash="2321d72c95ee1fd5708199f56f213136"/><file name="savecache.png" hash="cf686304f47b080ec98930be8bb0f869"/><file name="scanqr.png" hash="dc4c1d070d9b336c790cd2d1d5315ee6"/><file name="sendingotp.png" hash="28c93249e717916d0f3c974b1cd2af7d"/><file name="settings.png" hash="a3e0382615d3f19f5a0dab4d4accbf2d"/><file name="softokenmobile.png" hash="624d589cdfa031df456e25a2ff034e63"/><file name="softtoken.png" hash="804bd9b0a3a600e6f349a6aa4ea00899"/><file name="sync.png" hash="8fffca24e6184fc3f9af8e20feac430b"/><file name="wrong.png" hash="6bd49538f79c4722610c5535f38213af"/></dir></dir></dir></dir></dir></target></contents>
|
28 |
<compatible/>
|
29 |
<dependencies><required><php><min>5.3.10</min><max>5.6.11</max></php><extension><name>curl</name><min>7.40.0</min><max>7.44.0</max></extension></required></dependencies>
|
30 |
</package>
|