Verified Commit 5ad49a81 authored by Jakob Moser's avatar Jakob Moser
Browse files

Make Flask shell more explicit

parent 69cd87df
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -99,7 +99,9 @@ sudo docker exec -it portal-app-1 uv run flask shell

### LDAP server

To use the CL account login feature, you need to configure an `LdapDirectory`. Within a Flask shell, execute the following:
To use the CL account login feature, you need to configure an `LdapDirectory`. 

Open a Flask shell (see above), and then execute:

```python
>>> l = LdapDirectory(url="ldaps://ldap2.cl.uni-heidelberg.de", base_dn="ou=accounts,dc=cl,dc=uni-heidelberg,dc=de")