@@ -182,7 +182,7 @@ |
||
182 | 182 | return $this->credential; |
183 | 183 | } |
184 | 184 | |
185 | - /** |
|
185 | + /** |
|
186 | 186 | * @return int |
187 | 187 | */ |
188 | 188 | public function getAlgo(): int |
@@ -101,7 +101,7 @@ |
||
101 | 101 | } |
102 | 102 | return self::STATE_AUTH_ALLOWMGMT; |
103 | 103 | } else { // in inflow, allow to check the management box; otherwise, |
104 | - // only auth |
|
104 | + // only auth |
|
105 | 105 | $moduleConfig = Configuration::getOptionalConfig('module_webauthn.php')->toArray(); |
106 | 106 | return $moduleConfig['registration']['use_inflow_registration'] ? |
107 | 107 | self::STATE_AUTH_ALLOWMGMT : self::STATE_AUTH_NOMGMT; |
@@ -151,8 +151,8 @@ |
||
151 | 151 | $session = Session::getSessionFromRequest(); |
152 | 152 | $lastSecondFactor = $session->getData("DateTime", 'LastSuccessfulSecondFactor'); |
153 | 153 | if // do we need to do secondFactor in interval, or even every time? |
154 | - // we skip only if an interval is configured AND we did successfully authenticate, |
|
155 | - // AND are within the interval |
|
154 | + // we skip only if an interval is configured AND we did successfully authenticate, |
|
155 | + // AND are within the interval |
|
156 | 156 | ( |
157 | 157 | $this->SecondFactorMaxAge >= 0 && $lastSecondFactor instanceof \DateTime |
158 | 158 | ) { |