@@ -2713,8 +2713,9 @@ |
||
| 2713 | 2713 | ); |
| 2714 | 2714 | |
| 2715 | 2715 | // No valid email address for user |
| 2716 | - if (!$userInfos || !filter_var($userInfos['email'], FILTER_VALIDATE_EMAIL)) |
|
| 2717 | - return; |
|
| 2716 | + if (!$userInfos || !filter_var($userInfos['email'], FILTER_VALIDATE_EMAIL)) { |
|
| 2717 | + return; |
|
| 2718 | + } |
|
| 2718 | 2719 | |
| 2719 | 2720 | $unlock_url = $SETTINGS['cpassman_url'].'/self-unlock.php?login='.$value.'&otp='.$unlock_code; |
| 2720 | 2721 | |
@@ -28,8 +28,8 @@ |
||
| 28 | 28 | * @see https://www.teampass.net |
| 29 | 29 | */ |
| 30 | 30 | |
| 31 | - // TO REMOVE |
|
| 32 | - // - selected_items_to_be_imported |
|
| 31 | + // TO REMOVE |
|
| 32 | + // - selected_items_to_be_imported |
|
| 33 | 33 | |
| 34 | 34 | return array( |
| 35 | 35 | 'oauth2_synchronization' => 'OAuth2 synchronization', |