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
$ (cd tests/Application && bin/console assets:install public -e test)
21
-
```
22
-
23
-
To be able to setup a plugin's database, remember to configure you database credentials and LDAP configuration (see section "Configuration" below) in `tests/Application/.env.local`. After that is done, set up the database:
When that is done, you can just start the symfony server:
31
-
32
-
```bash
33
-
$ (cd tests/Application && bin/console server:run -d public -e dev)
34
-
```
35
-
36
-
The server is now running, you can reach it at [http://127.0.0.1:8000/admin/](http://127.0.0.1:8000/admin/) and try to log in using your LDAP credentials.
37
-
38
7
## Installation
39
-
40
8
Run `composer require brille24/sylius-ldap-plugin` in your project-root.
To use this new method of authorizing users change the `form_login` in `config/packages/security.yaml` to `form_login_ldap`. For reference the plugin version of this configuration file is located under `tests/Application/config/packages/security.yaml`.
29
+
60
30
## Origin / Other Sources
61
31
62
32
This plugin is the result of the third sylius hackathon in oldenburg at brille24. It is based on `symfony/ldap`, so any guide for that package may also help you:
0 commit comments