Skip to content

Commit

Permalink
added chengelog & docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TonisOrmisson committed Sep 25, 2024
1 parent 25e3988 commit ad2ae44
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Fix #546: The profile/show page must not be visible by default, implement configurable policy (TonisOrmisson)
- Fix #397: No more fatal Exceptions when connecting to already taken Social Network (edegaudenzi)
- Ehh: Added option to pre-fill recovery email via url parameter (TonisOrmisson)
- Ehh: Added option for user to reset password right after confirmation (TonisOrmisson)

## 1.6.3 Mar 18th, 2024

Expand Down
8 changes: 8 additions & 0 deletions docs/install/configuration-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,14 @@ List of urls that does not require explicit data processing consent to be access
Setting this attribute allows the registration process. If you set it to `false`, the module won't allow users to
register by throwing a `NotFoundHttpException` if the `RegistrationController::actionRegister()` is accessed.

#### offerPasswordChangeAfterConfirmation (type: `boolean`, default: `false`)

Setting this `true` a user will get redirected to a password reset page right after clicking the confirmation url.
This option is useful if a user is created via admin processes and user should start from setting their password.
In this case system will generate a pseudo password for the user, which is not presented to user. Instead, after
clicking the confirmation link, a password reset token is generated to user by system and user is redirected to the
password reset page with the flash message of successful confirmation.

#### enableSocialNetworkRegistration (type: `boolean`, default: `true`)

Setting this attribute allows the registration process via social networks. If you set it to `false`, the module won't allow users to
Expand Down
3 changes: 1 addition & 2 deletions tests/functional/RegistrationCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class RegistrationCest
public function _before(FunctionalTester $I)
{
$I->haveFixtures(['user' => UserFixture::class]);
$I->haveFixtures(['token' => TokenFixture::class]);
}

public function _after(FunctionalTester $I)
Expand Down Expand Up @@ -80,7 +79,7 @@ public function testRegistrationWithConfirmation(FunctionalTester $I)
}

/**
* Tests registration when password is generated automatically and sent to user.
* Tests registration when user should set the password right after confirmation
*
* @param FunctionalTester $I
*/
Expand Down

0 comments on commit ad2ae44

Please sign in to comment.