You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -46,15 +46,34 @@ In the registration email templates, two variables are no longer available by de
46
46
However, in the registration email, "registrationFlow" is now available, which gives access to the email as well to all
47
47
other information the user has entered during the registration process (as long as it is stored in the RegistrationFlow object).
48
48
49
-
# Configuration
49
+
# 2. Configuration
50
50
51
51
## Setup
52
-
Run `./flow doctrine:migrate` after you add this package to install its model. The package automatically exposes its routes
53
-
via auto-inclusion in the package settings.
54
-
Attention: Any routes defined in the global `Routes.yaml` are loaded before this package's routes, so they may be overriden.
55
-
This is especially true for the default Flow subroutes, so make sure you have removed those from your global `Routes.yaml`.
52
+
There are the basic config steps:
53
+
1. Run `./flow doctrine:migrate` after you add this package to install its model. The package automatically exposes its routes
54
+
via auto-inclusion in the package settings. Attention: Any routes defined in the global `Routes.yaml` are loaded before this package's
55
+
routes, so they may be overriden. This is especially true for the default Flow subroutes, so make sure you have removed those from your global `Routes.yaml`.
56
56
If you can't remove them, just include the subroutes for this package manually before the Flow subroutes.
57
-
When using this as part of your own plugin keep in mind that you have to add this in your package's `composer.json`. After requiring new packages you have to run `./flow neos.flow:package:rescan` to regenerate to order in which all your packages are loaded.
57
+
58
+
2. Require this package in your own package's `composer.json`. This will inform Flow that it needs to load UserManagement before
59
+
your packages, which allows you to override config and will make sure authorizations work correctly. Keep in mind that you have to add this into all
60
+
packages that use features from user management - very important if your site is split into multiple packages or plugins.
61
+
Here's an example:
62
+
```
63
+
{
64
+
"description": "Your Site Package",
65
+
"type": "neos-site", (or "neos-package" if you're using Flow only or building a Plugin)
66
+
"require": {
67
+
"neos/neos": "*",
68
+
"sandstorm/usermanagement": "*"
69
+
}
70
+
...more settings here...
71
+
}
72
+
```
73
+
74
+
3. Run `./flow neos.flow:package:rescan` to regenerate to order in which all your packages are loaded.
75
+
76
+
4. Add and adapt the configuration settings below to your config (make sure to not miss the special Neos settings).
58
77
59
78
## Basic configuration options
60
79
These are the basic configuration options for e-mails, timeouts etc. You will usually want to adapt these to your application.
0 commit comments