<div dir="ltr"><div dir="ltr">Hi Michael<div>Thanks for the quick response!</div><div><br><div>Using the debugmode:</div><div><span style="color:rgb(255,255,255);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:19.200001px;background-color:rgb(133,39,31)">Class "Sonata\GoogleAuthenticator\GoogleAuthenticator" not found</span><br></div><div><span style="color:rgb(255,255,255);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:19.200001px;background-color:rgb(133,39,31)"><br></span></div><div><span style="color:rgb(255,255,255);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:19.200001px;background-color:rgb(133,39,31)"><br></span></div><div>When I check the SERVER tab;</div><div><table style="width:1708.203125px;overflow:hidden;color:rgb(119,119,119);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><tbody><tr><td style="padding:0.2rem 0.5rem 0.2rem 0px;background:repeat rgb(241,241,241)">REQUEST_TIME_FLOAT</td><td style="padding:0.2rem 0.5rem 0.2rem 0px;background:repeat rgb(241,241,241)"><pre style="text-wrap-mode: wrap;">1724349813.4888                                                                                                                                        </pre></td></tr><tr><td style="padding:0.2rem 0.5rem 0.2rem 0px">REQUEST_TIME</td><td style="padding:0.2rem 0.5rem 0.2rem 0px"><pre style="text-wrap-mode: wrap;">1724349813                                                                                                                                      </pre></td></tr><tr><td style="padding:0.2rem 0.5rem 0.2rem 0px">argv</td><td style="padding:0.2rem 0.5rem 0.2rem 0px"><pre style="text-wrap-mode: wrap;">Array
(
    [0] => auth_check=2FACHECK
)</pre></td></tr></tbody></table></div><div><h3 style="color:rgb(119,119,119);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">$_SESSION</h3><table style="width:1166px;overflow:hidden;color:rgb(119,119,119);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><thead><tr><th style="text-align:left;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(231,231,231);padding-bottom:0.5rem">Key</th><th style="text-align:left;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(231,231,231);padding-bottom:0.5rem">Value</th></tr></thead><tbody><tr><td style="padding:0.2rem 0.5rem 0.2rem 0px">__ci_last_regenerate</td><td style="padding:0.2rem 0.5rem 0.2rem 0px"><pre style="text-wrap-mode: wrap;">1724349604                                                                                                                                       </pre></td></tr><tr><td style="padding:0.2rem 0.5rem 0.2rem 0px">expired_url</td><td style="padding:0.2rem 0.5rem 0.2rem 0px">/expired/true/target/login?auth_check=2FACHECK</td></tr><tr><td style="padding:0.2rem 0.5rem 0.2rem 0px">actual_url</td><td style="padding:0.2rem 0.5rem 0.2rem 0px">login?auth_check=2FACHECK</td></tr></tbody></table><table style="width:1166px;overflow:hidden;color:rgb(119,119,119);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><thead><tr><th style="text-align:left;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(231,231,231);padding-bottom:0.5rem"></th></tr></thead><tbody><tr><td style="padding:0.2rem 0.5rem 0.2rem 0px"></td><td style="padding:0.2rem 0.5rem 0.2rem 0px"><br><br></td></tr></tbody></table></div><div>Which made me check the time but it's 100% correct on using NTP <a href="http://pool.ntp.org">pool.ntp.org</a> in GMT +2:00<br></div><div><br></div><div><b style="color:rgb(119,119,119);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">/usr/sausalito/ui/chorizo/ci4/Modules/Base/User/Controllers/Login.php</b><span style="color:rgb(119,119,119);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:medium;background-color:rgb(250,250,250)"><span class="gmail-Apple-converted-space"> </span>at line<span class="gmail-Apple-converted-space"> </span></span><b style="color:rgb(119,119,119);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">76</b><br></div><div><pre style="color:rgb(199,199,199);background-color:rgb(51,51,51)"><code><span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">69</span>                 </span><span style="color:rgb(241,206,97)">}
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">70</span>             }
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">71</span>             return </span><span style="color:rgb(199,199,199)">$backupCodes</span>;
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">72</span>         }
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">73</span>     }
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">74</span> 
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">75</span>     public function </span><span style="color:rgb(199,199,199)">verifyCode</span>(<span style="color:rgb(199,199,199)">$username</span>, <span style="color:rgb(199,199,199)">$code</span>) {
<span class="gmail-line gmail-highlight" style="line-height:1.4;display:block;background:repeat rgb(85,85,85);color:rgb(255,255,255)"><span class="gmail-number">76</span>         $g = new GoogleAuthenticator();
</span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(199,199,199)"></span><span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">77</span>         </span><span style="color:rgb(199,199,199)">$secretKey </span>= <span style="color:rgb(199,199,199)">Login</span>::<span style="color:rgb(199,199,199)">getSecretKey</span>(<span style="color:rgb(199,199,199)">$username</span>);
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">78</span> 
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">79</span>         </span><span style="color:rgb(118,122,126);font-style:italic">// First, check if the input code is a valid TOTP code:
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">80</span>         </span><span style="color:rgb(241,206,97)">if (</span><span style="color:rgb(199,199,199)">$g</span><span style="color:rgb(241,206,97)">-></span><span style="color:rgb(199,199,199)">checkCode</span><span style="color:rgb(241,206,97)">(</span><span style="color:rgb(199,199,199)">$secretKey</span><span style="color:rgb(241,206,97)">, </span><span style="color:rgb(199,199,199)">$code</span><span style="color:rgb(241,206,97)">)) {
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">81</span>             return </span><span style="color:rgb(199,199,199)">true</span>; <span style="color:rgb(118,122,126)">// The TOTP code is correct
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">82</span>         </span><span style="color:rgb(241,206,97)">}
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">83</span>         else {</span></span></span></span></span></span></span></span></span></span></span></code></pre></div></div></div><br><div><br></div><div><span style="color:rgb(119,119,119);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:medium">/usr/sausalito/ui/chorizo/ci4/Modules/Base/User/Controllers/Login.php : 454<span class="gmail-Apple-converted-space"> </span></span><span style="color:rgb(119,119,119);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:medium">  —  User\Controllers\Login->verifyCode</span><br></div><div><pre style="color:rgb(199,199,199);background-color:rgb(51,51,51)"><code><span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">447</span>                 </span>$CI<span style="color:rgb(241,206,97)">-></span>cceClient<span style="color:rgb(241,206,97)">-></span>authkey<span style="color:rgb(241,206,97)">(</span>$form_data<span style="color:rgb(241,206,97)">[</span><span style="color:rgb(134,157,106)">'username_field'</span><span style="color:rgb(241,206,97)">], </span>$sessionId<span style="color:rgb(241,206,97)">);
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">448</span> 
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">449</span>                 </span><span style="color:rgb(199,199,199)">bx_error_log</span>(<span style="color:rgb(134,157,106)">"Login.php: Updating Session saved 'System' Object with the full data. auth_stage: </span><span style="color:rgb(199,199,199)">$auth_stage</span><span style="color:rgb(134,157,106)">"</span>);
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">450</span>                 </span><span style="color:rgb(199,199,199)">$CI</span>-><span style="color:rgb(199,199,199)">setSystem</span>(<span style="color:rgb(199,199,199)">$CI</span>-><span style="color:rgb(199,199,199)">cceClient</span>-><span style="color:rgb(199,199,199)">get</span>(<span style="color:rgb(199,199,199)">$system</span>[<span style="color:rgb(134,157,106)">'OID'</span>], <span style="color:rgb(134,157,106)">''</span>));
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">451</span> 
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">452</span>                 if ((</span><span style="color:rgb(199,199,199)">$auth_stage </span>=== <span style="color:rgb(134,157,106)">'2FACHECK'</span>) && (isset(<span style="color:rgb(199,199,199)">$form_data</span>[<span style="color:rgb(134,157,106)">'actual_token_field'</span>]))) {
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">453</span>                     </span><span style="color:rgb(118,122,126);font-style:italic">// 2FA via Google-Authenticator:
<span class="gmail-line gmail-highlight" style="line-height:1.4;display:block;background:repeat rgb(85,85,85);color:rgb(255,255,255)"><span class="gmail-number">454</span>                     if (!Login::verifyCode($form_data['username_field'], $form_data['actual_token_field'])) {
</span></span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(134,157,106)"></span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(134,157,106)"></span><span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">455</span>                         </span><span style="color:rgb(199,199,199)">bx_error_log</span>(<span style="color:rgb(134,157,106)">"Login.php: Invalid login attempt due to 2FA failure. I will remember this!"</span>);
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">456</span>                         </span><span style="color:rgb(199,199,199)">$CI</span>-><span style="color:rgb(199,199,199)">add_invalid_login</span>();
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">457</span> 
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">458</span>                         </span><span style="color:rgb(199,199,199)">setcookie</span>(<span style="color:rgb(134,157,106)">"sessionId"</span>, <span style="color:rgb(134,157,106)">'expired'</span>, <span style="color:rgb(134,157,106)">"0"</span>, <span style="color:rgb(134,157,106)">"/"</span>);
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">459</span>                         </span><span style="color:rgb(199,199,199)">setcookie</span>(<span style="color:rgb(134,157,106)">"logout"</span>, <span style="color:rgb(134,157,106)">'2fafail'</span>, <span style="color:rgb(199,199,199)">time</span>()+<span style="color:rgb(199,199,199)">60</span>, <span style="color:rgb(134,157,106)">"/"</span>);
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">460</span>                         @</span><span style="color:rgb(199,199,199)">session</span>()-><span style="color:rgb(199,199,199)">destroy</span>();
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">461</span>                         </span><span style="color:rgb(199,199,199)">$CI</span>-><span style="color:rgb(199,199,199)">setUserLogged</span>();</span></span></span></span></code></pre></div><div><br></div><div><ol class="gmail-trace" style="line-height:1.8;color:rgb(119,119,119);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><li><p>SYSTEMPATH/CodeIgniter.php : 927<span class="gmail-Apple-converted-space"> </span>  —  User\Controllers\Login->login ()</p><div class="gmail-source" style="background:repeat rgb(51,51,51);color:rgb(199,199,199);padding:0.5em 1em;border-radius:5px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;margin:0px;overflow-x:scroll"><pre><code><span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">920</span>             </span>$output <span style="color:rgb(241,206,97)">= </span>$class<span style="color:rgb(241,206,97)">-></span>_remap<span style="color:rgb(241,206,97)">(</span>$this<span style="color:rgb(241,206,97)">-></span>method<span style="color:rgb(241,206,97)">, </span>$params<span style="color:rgb(241,206,97)">);
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">921</span>         } else {
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">922</span>             </span><span style="color:rgb(118,122,126);font-style:italic">// This is a Web request or PHP CLI request
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">923</span>             </span><span style="color:rgb(199,199,199)">$params </span><span style="color:rgb(241,206,97)">= </span><span style="color:rgb(199,199,199)">$this</span><span style="color:rgb(241,206,97)">-></span><span style="color:rgb(199,199,199)">router</span><span style="color:rgb(241,206,97)">-></span><span style="color:rgb(199,199,199)">params</span><span style="color:rgb(241,206,97)">();
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">924</span> 
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">925</span>             </span><span style="color:rgb(199,199,199)">$output </span>= <span style="color:rgb(199,199,199)">method_exists</span>(<span style="color:rgb(199,199,199)">$class</span>, <span style="color:rgb(134,157,106)">'_remap'</span>)
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">926</span>                 ? </span><span style="color:rgb(199,199,199)">$class</span>-><span style="color:rgb(199,199,199)">_remap</span>(<span style="color:rgb(199,199,199)">$this</span>-><span style="color:rgb(199,199,199)">method</span>, ...<span style="color:rgb(199,199,199)">$params</span>)
<span class="gmail-line gmail-highlight" style="line-height:1.4;display:block;background:repeat rgb(85,85,85);color:rgb(255,255,255)"><span class="gmail-number">927</span>                 : $class->{$this->method}(...$params);
</span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(199,199,199)"></span><span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">928</span>         }
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">929</span> 
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">930</span>         </span><span style="color:rgb(199,199,199)">$this</span>-><span style="color:rgb(199,199,199)">benchmark</span>-><span style="color:rgb(199,199,199)">stop</span>(<span style="color:rgb(134,157,106)">'controller'</span>);
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">931</span> 
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">932</span>         return </span><span style="color:rgb(199,199,199)">$output</span>;
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">933</span>     }
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">934</span> 
</span></span></span></span></span></span></span></span></span></span></code></pre></div></li><li><p>SYSTEMPATH/CodeIgniter.php : 482<span class="gmail-Apple-converted-space"> </span>  —  CodeIgniter\CodeIgniter->runController (<span class="gmail-Apple-converted-space"> </span><a href="https://ds50.dyanix.it:81/login?auth_check=2FACHECK#" style="color:inherit">arguments</a><span class="gmail-Apple-converted-space"> </span>)</p><p></p><div class="gmail-source" style="background:repeat rgb(51,51,51);color:rgb(199,199,199);padding:0.5em 1em;border-radius:5px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;margin:0px;overflow-x:scroll"><pre><code><span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">475</span>             if (! </span>method_exists<span style="color:rgb(241,206,97)">(</span>$controller<span style="color:rgb(241,206,97)">, </span><span style="color:rgb(134,157,106)">'_remap'</span><span style="color:rgb(241,206,97)">) && ! </span>is_callable<span style="color:rgb(241,206,97)">([</span>$controller<span style="color:rgb(241,206,97)">, </span>$this<span style="color:rgb(241,206,97)">-></span>method<span style="color:rgb(241,206,97)">], </span>false<span style="color:rgb(241,206,97)">)) {
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">476</span>                 throw </span><span style="color:rgb(199,199,199)">PageNotFoundException</span>::<span style="color:rgb(199,199,199)">forMethodNotFound</span>(<span style="color:rgb(199,199,199)">$this</span>-><span style="color:rgb(199,199,199)">method</span>);
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">477</span>             }
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">478</span> 
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">479</span>             </span><span style="color:rgb(118,122,126);font-style:italic">// Is there a "post_controller_constructor" event?
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">480</span>             </span><span style="color:rgb(199,199,199)">Events</span><span style="color:rgb(241,206,97)">::</span><span style="color:rgb(199,199,199)">trigger</span><span style="color:rgb(241,206,97)">(</span><span style="color:rgb(134,157,106)">'post_controller_constructor'</span><span style="color:rgb(241,206,97)">);
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">481</span> 
<span class="gmail-line gmail-highlight" style="line-height:1.4;display:block;background:repeat rgb(85,85,85);color:rgb(255,255,255)"><span class="gmail-number">482</span>             $returned = $this->runController($controller);
</span></span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(199,199,199)"></span><span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">483</span>         } else {
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">484</span>             </span><span style="color:rgb(199,199,199)">$this</span>-><span style="color:rgb(199,199,199)">benchmark</span>-><span style="color:rgb(199,199,199)">stop</span>(<span style="color:rgb(134,157,106)">'controller_constructor'</span>);
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">485</span>             </span><span style="color:rgb(199,199,199)">$this</span>-><span style="color:rgb(199,199,199)">benchmark</span>-><span style="color:rgb(199,199,199)">stop</span>(<span style="color:rgb(134,157,106)">'controller'</span>);
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">486</span>         }
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">487</span> 
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">488</span>         </span><span style="color:rgb(118,122,126)">// If $returned is a string, then the controller output something,
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">489</span>         // probably a view, instead of echoing it directly. Send it along
</span></span></span></span></span></span></span></span></span></span></code></pre></div></li><li><p>SYSTEMPATH/CodeIgniter.php : 351<span class="gmail-Apple-converted-space"> </span>  —  CodeIgniter\CodeIgniter->handleRequest (<span class="gmail-Apple-converted-space"> </span><a href="https://ds50.dyanix.it:81/login?auth_check=2FACHECK#" style="color:inherit">arguments</a><span class="gmail-Apple-converted-space"> </span>)</p><p></p><div class="gmail-source" style="background:repeat rgb(51,51,51);color:rgb(199,199,199);padding:0.5em 1em;border-radius:5px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;margin:0px;overflow-x:scroll"><pre><code><span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">344</span> 
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">345</span>         </span><span style="color:rgb(118,122,126);font-style:italic">// spark command has nothing to do with HTTP redirect and 404
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">346</span>         </span><span style="color:rgb(241,206,97)">if (</span><span style="color:rgb(199,199,199)">$this</span><span style="color:rgb(241,206,97)">-></span><span style="color:rgb(199,199,199)">isSparked</span><span style="color:rgb(241,206,97)">()) {
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">347</span>             return </span><span style="color:rgb(199,199,199)">$this</span>-><span style="color:rgb(199,199,199)">handleRequest</span>(<span style="color:rgb(199,199,199)">$routes</span>, <span style="color:rgb(199,199,199)">$cacheConfig</span>, <span style="color:rgb(199,199,199)">$returnResponse</span>);
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">348</span>         }
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">349</span> 
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">350</span>         try {
<span class="gmail-line gmail-highlight" style="line-height:1.4;display:block;background:repeat rgb(85,85,85);color:rgb(255,255,255)"><span class="gmail-number">351</span>             return $this->handleRequest($routes, $cacheConfig, $returnResponse);
</span></span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(199,199,199)"></span><span style="color:rgb(199,199,199)"></span><span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">352</span>         } catch (</span><span style="color:rgb(199,199,199)">RedirectException $e</span>) {
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">353</span>             </span><span style="color:rgb(199,199,199)">$logger </span>= <span style="color:rgb(199,199,199)">Services</span>::<span style="color:rgb(199,199,199)">logger</span>();
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">354</span>             </span><span style="color:rgb(199,199,199)">$logger</span>-><span style="color:rgb(199,199,199)">info</span>(<span style="color:rgb(134,157,106)">'REDIRECTED ROUTE at ' </span>. <span style="color:rgb(199,199,199)">$e</span>-><span style="color:rgb(199,199,199)">getMessage</span>());
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">355</span> 
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">356</span>             </span><span style="color:rgb(118,122,126)">// If the route is a 'redirect' route, it throws
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">357</span>             // the exception with the $to as the message
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">358</span>             </span><span style="color:rgb(199,199,199)">$this</span><span style="color:rgb(241,206,97)">-></span><span style="color:rgb(199,199,199)">response</span><span style="color:rgb(241,206,97)">-></span><span style="color:rgb(199,199,199)">redirect</span><span style="color:rgb(241,206,97)">(</span><span style="color:rgb(199,199,199)">base_url</span><span style="color:rgb(241,206,97)">(</span><span style="color:rgb(199,199,199)">$e</span><span style="color:rgb(241,206,97)">-></span><span style="color:rgb(199,199,199)">getMessage</span><span style="color:rgb(241,206,97)">()), </span><span style="color:rgb(134,157,106)">'auto'</span><span style="color:rgb(241,206,97)">, </span><span style="color:rgb(199,199,199)">$e</span><span style="color:rgb(241,206,97)">-></span><span style="color:rgb(199,199,199)">getCode</span><span style="color:rgb(241,206,97)">());
</span></span></span></span></span></span></span></span></span></code></pre></div></li><li><p>FCPATH/index.php : 68<span class="gmail-Apple-converted-space"> </span>  —  CodeIgniter\CodeIgniter->run ()</p><div class="gmail-source" style="background:repeat rgb(51,51,51);color:rgb(199,199,199);padding:0.5em 1em;border-radius:5px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;margin:0px;overflow-x:scroll"><pre><code><span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">61</span>  *---------------------------------------------------------------
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">62</span>  * LAUNCH THE APPLICATION
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">63</span>  *---------------------------------------------------------------
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">64</span>  * Now that everything is setup, it's time to actually fire
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">65</span>  * up the engines and make this app do its thang.
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">66</span>  */
<span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">67</span> 
<span class="gmail-line gmail-highlight" style="line-height:1.4;display:block;background:repeat rgb(85,85,85);color:rgb(255,255,255)"><span class="gmail-number">68</span> $app->run();
</span></span><span style="color:rgb(241,206,97)"></span><span style="color:rgb(241,206,97)"><span class="gmail-line" style="line-height:1.4"><span class="gmail-number" style="color:rgb(102,102,102)">69</span> </span></span></span></span></span></span></span></span></code></pre></div></li></ol></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Thanks!</div><div>Janwillem</div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 22, 2024 at 7:14 PM Michael Stauber via Blueonyx <<a href="mailto:blueonyx@mail.blueonyx.it">blueonyx@mail.blueonyx.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi Janwillem,<br>
<br>
> One of our 5211R doesn't allow me anymore to login into the GUI as admin.<br>
> After entering the 2FA code I get an "internal server error The server <br>
> encountered an internal error and was unable to complete your request."<br>
> <br>
> /var/log/secure shows:<br>
> Aug 22 16:51:48 ds50 cced(smd)[11928]: PAM unable to <br>
> dlopen(/usr/lib64/security/pam_cracklib.so): <br>
> /usr/lib64/security/pam_cracklib.so: cannot open shared object file: No <br>
> such file or directory<br>
<br>
You can ignore that pam_cracklib.so error as it has no relevance to your <br>
problem and doesn't affect logins.<br>
<br>
To see why you get "internal server error" in the GUI you could turn on <br>
GUI-debugging and that would help us to find the real cause of the problem:<br>
<br>
<a href="https://www.blueonyx.it/blueonyx-5211r-debugging" rel="noreferrer" target="_blank">https://www.blueonyx.it/blueonyx-5211r-debugging</a><br>
<br>
> I do have SSH access<br>
> Any idea for a quick fix or how to enable 2fa temporarily from the <br>
> commandline?<br>
As "root" and from the shell run /usr/sausalito/bin/cceclient to fire up <br>
CCEClient:<br>
<br>
[root@server ~]# /usr/sausalito/bin/cceclient<br>
100 CSCP/0.99<br>
200 READY<br>
<br>
In there type:<br>
<br>
FIND System<br>
<br>
That will report back something like this:<br>
<br>
104 OBJECT 1<br>
<br>
In this example it tells us that the 'System' Object has the OID #1.<br>
<br>
Then enter this:<br>
<br>
SET <OID> gui_2fa = "0"<br>
<br>
Replace <OID> with the Object ID that the "FIND System" command had <br>
reported back. In our case that was the number 1, so we'd use:<br>
<br>
SET 1 gui_2fa = "0"<br>
<br>
It will report back "201 OK" if the transaction was successful. And that <br>
then has set 2FA to disabled.<br>
<br>
Alternatively: You could run "rm -f ~admin/.google_authenticator" to <br>
remove the 2FA config file for user "admin". That would allow you to <br>
login to the GUI as "admin" (without 2FA) and then you could turn off <br>
2FA via the GUI.<br>
<br>
-- <br>
With best regards<br>
<br>
Michael Stauber<br>
_______________________________________________<br>
Blueonyx mailing list<br>
<a href="mailto:Blueonyx@mail.blueonyx.it" target="_blank">Blueonyx@mail.blueonyx.it</a><br>
<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" rel="noreferrer" target="_blank">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><br>
</blockquote></div></div></div>