Parcourir la source

Merge branch 'master' of https://github.com/unaio/una

AntonLV il y a 7 ans
Parent
commit
57c485a5b8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      template/scripts/BxBaseServiceLogin.php

+ 1 - 1
template/scripts/BxBaseServiceLogin.php

@@ -85,7 +85,7 @@ class BxBaseServiceLogin extends BxDol
 
     public function serviceLoginForm ($sParams = '', $sForceRelocate = '')
     {
-        if(isLogged()){
+        if (isLogged() && 'login' == bx_get('i')) {
             header('Location: ' . BX_DOL_URL_ROOT);
             exit;
         }