Skip to content

Commit dddfa79

Browse files
committed
Revert "Merge branch 'b-7.4.x-generate-exceptions-OXDEV-9992' into b-7.4.x"
This reverts commit 25c6b8d, reversing changes made to fe5e177.
1 parent 25c6b8d commit dddfa79

158 files changed

Lines changed: 21 additions & 5312 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Added
1010
- Extracted reusable Twig code into captcha.html.twig and password.html.twig
11-
- Facebook login OAuth-provider
12-
- Google login OAuth-provider
1311

1412
### Changed
1513
- Show multiple errors on invalid password

assets/out/src/css/providers.css

Lines changed: 0 additions & 9 deletions
This file was deleted.

composer.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@
3030
"codeception/module-webdriver": "*",
3131
"oxid-esales/codeception-modules": "dev-b-7.4.x",
3232
"oxid-esales/codeception-page-objects": "dev-b-7.4.x",
33-
"mikey179/vfsstream": "^1.6",
34-
"pragmarx/google2fa": "^v8.0.3",
35-
"bacon/bacon-qr-code": "v3.0.1",
36-
"league/oauth2-google": "4.0.1",
37-
"league/oauth2-facebook": "2.2.0"
33+
"mikey179/vfsstream": "^1.6"
3834
},
3935
"minimum-stability": "dev",
4036
"prefer-stable": true,

metadata.php

Lines changed: 2 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@
99
* Metadata version
1010
*/
1111

12-
use OxidEsales\SecurityModule\Authentication\OAuth2\Service\ModuleSettingsService;
13-
use OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Service\ModuleSettingsService as TwoFactorAuthModuleSettings;
1412
use OxidEsales\SecurityModule\PasswordPolicy\Service\ModuleSettingsService as PasswordPolicyModuleSettings;
1513
use OxidEsales\SecurityModule\Captcha\Service\ModuleSettingsService as CaptchaModuleSettings;
16-
use OxidEsales\SecurityModule\Authentication\OAuth2\Service\ModuleSettingsService as OAuthModuleSettings;
1714
use OxidEsales\SecurityModule\Core\Module;
1815

1916
$sMetadataVersion = '2.1';
@@ -42,9 +39,7 @@
4239
],
4340
'controllers' => [
4441
'captcha' => \OxidEsales\SecurityModule\Captcha\Controller\CaptchaController::class,
45-
'password' => \OxidEsales\SecurityModule\PasswordPolicy\Controller\PasswordAjaxController::class,
46-
'oauth' => \OxidEsales\SecurityModule\Authentication\OAuth2\Controller\OAuthController::class,
47-
'twofactorauth' => \OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Controller\TwoFactorAuthController::class,
42+
'password' => \OxidEsales\SecurityModule\PasswordPolicy\Controller\PasswordAjaxController::class
4843
],
4944
'templates' => [
5045
],
@@ -114,71 +109,6 @@
114109
'type' => 'select',
115110
'constraints' => '5min|15min|30min',
116111
'value' => '15min'
117-
],
118-
119-
//OAuth2 settings
120-
[
121-
'group' => 'oauth',
122-
'name' => OAuthModuleSettings::FACEBOOK_LOGIN_ENABLED,
123-
'type' => 'bool',
124-
'value' => false
125-
],
126-
[
127-
'group' => 'oauth',
128-
'name' => OAuthModuleSettings::FACEBOOK_CLIENT_ID,
129-
'type' => 'str',
130-
'value' => ''
131-
],
132-
[
133-
'group' => 'oauth',
134-
'name' => OAuthModuleSettings::FACEBOOK_CLIENT_SECRET,
135-
'type' => 'str',
136-
'value' => ''
137-
],
138-
[
139-
'group' => 'oauth',
140-
'name' => OAuthModuleSettings::FACEBOOK_REDIRECT_URL,
141-
'type' => 'str',
142-
'value' => ''
143-
],
144-
[
145-
'group' => 'oauth',
146-
'name' => OAuthModuleSettings::GOOGLE_LOGIN_ENABLED,
147-
'type' => 'bool',
148-
'value' => true
149-
],
150-
[
151-
'group' => 'oauth',
152-
'name' => OAuthModuleSettings::GOOGLE_CLIENT_ID,
153-
'type' => 'str',
154-
'value' => ''
155-
],
156-
[
157-
'group' => 'oauth',
158-
'name' => OAuthModuleSettings::GOOGLE_CLIENT_SECRET,
159-
'type' => 'str',
160-
'value' => ''
161-
],
162-
[
163-
'group' => 'oauth',
164-
'name' => OAuthModuleSettings::GOOGLE_REDIRECT_URL,
165-
'type' => 'str',
166-
'value' => ''
167-
],
168-
169-
//TwoFactorAuth settings
170-
[
171-
'group' => 'two_factor_auth',
172-
'name' => TwoFactorAuthModuleSettings::ACTIVE,
173-
'type' => 'bool',
174-
'value' => false
175-
],
176-
[
177-
'group' => 'two_factor_auth',
178-
'name' => TwoFactorAuthModuleSettings::TWO_FACTOR_TYPE,
179-
'type' => 'select',
180-
'constraints' => 'otp|totp',
181-
'value' => 'otp'
182-
],
112+
]
183113
],
184114
];

migration/data/Version20251128093245.php

Lines changed: 0 additions & 27 deletions
This file was deleted.

migration/migrations.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

services.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
imports:
22
- { resource: src/Captcha/services.yaml }
33
- { resource: src/PasswordPolicy/services.yaml }
4-
- { resource: src/Authentication/services.yaml }
5-
- { resource: src/Shared/services.yaml }
64

75
services:
86
_defaults:

src/Authentication/OAuth2/Controller/OAuthController.php

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/Authentication/OAuth2/DTO/OAuth2UserDTO.php

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/Authentication/OAuth2/DTO/OAuth2UserDTOInterface.php

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)