-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: UserValidationRequest configuration
- Loading branch information
1 parent
09a670f
commit 400466e
Showing
3 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,21 @@ | ||
--- | ||
parameters: | ||
env(USER_PASSWORD_RESET_URL): 'loginResetPage' | ||
env(USER_VALIDATION_URL): 'loginResetPage' | ||
env(USER_PASSWORD_RESET_EXPIRES_IN): '600' | ||
env(USER_VALIDATION_EXPIRES_IN): '3600' | ||
|
||
# Default configuration for "RoadizUserBundle" | ||
roadiz_user: | ||
# Define frontend URL to redirect user to after receiving its password recovery email. | ||
# **This parameter supports Symfony routes name as well as hard-coded URLs.** | ||
password_reset_url: '%env(string:USER_PASSWORD_RESET_URL)%' | ||
# Define frontend URL to redirect user to after receiving its email validation request. | ||
# **This parameter supports Symfony routes name as well as hard-coded URLs.** | ||
user_validation_url: '%env(string:USER_VALIDATION_URL)%' | ||
# Define password recovery expiring time in seconds. | ||
password_reset_expires_in: '%env(int:USER_PASSWORD_RESET_EXPIRES_IN)%' | ||
# Define user validation token expiring time in seconds. | ||
user_validation_expires_in: '%env(int:USER_VALIDATION_EXPIRES_IN)%' | ||
public_user_role_name: ROLE_PUBLIC_USER | ||
email_validated_role_name: ROLE_EMAIL_VALIDATED |