Commit 840b985
committed
web: Allow CASProvider config to be any source
By defining ``env`` in ``CASProvider``, the superclass implementation
of ``is_configured`` requires the variables to be set in the actual
environment. Configuration can come from reading in ``/run/secrets``,
an ``.env`` file, or the environment.
This commit defines our own ``is_configured`` that checks ``CONFIG``
for the needed variables instead of relying on the superclass.
Ref: AP-4121 parent 18a18a6 commit 840b985
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| |||
0 commit comments