Compare commits

..

3 commits

Author SHA1 Message Date
Benjamin Renard
62fbdbf1c2
Auth/CAS: fix CLI mode 2024-05-27 17:41:05 +02:00
Benjamin Renard
4a190f3f25
Add missing logo.svg file in skel 2024-05-27 17:40:14 +02:00
Benjamin Renard
87979933e3
Typo 2024-05-27 17:39:42 +02:00
4 changed files with 152 additions and 4 deletions

View file

@ -248,7 +248,7 @@ auth:
default: null default: null
name: name:
cas_name: "displayName" cas_name: "displayName"
cas_ldap_name: "cn" alt_cas_name: "cn"
default: null default: null
mail: mail:
type: "string" type: "string"

View file

@ -248,7 +248,7 @@ auth:
default: null default: null
name: name:
cas_name: "displayName" cas_name: "displayName"
cas_ldap_name: "cn" alt_cas_name: "cn"
default: null default: null
mail: mail:
type: "string" type: "string"

144
skel/static/images/logo.svg Normal file
View file

@ -0,0 +1,144 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="svg885"
width="50"
height="50"
viewBox="0 0 50 50"
sodipodi:docname="logo.svg"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)">
<metadata
id="metadata891">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs889" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1016"
id="namedview887"
showgrid="false"
fit-margin-top="10"
fit-margin-left="8"
fit-margin-right="8"
fit-margin-bottom="10"
inkscape:zoom="5.4942197"
inkscape:cx="6.0799923"
inkscape:cy="35.908192"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g893" />
<g
inkscape:groupmode="layer"
inkscape:label="Image"
id="g893"
transform="translate(-14.100922,-9.5)">
<circle
style="fill:none;fill-opacity:1;stroke:#7b7b7b;stroke-width:0.859;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
id="path897"
cx="38.901321"
cy="21.51104"
r="1.6315216" />
<circle
style="fill:none;fill-opacity:1;stroke:#7b7b7b;stroke-width:0.859;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
id="path897-3"
cx="44.589882"
cy="25.004015"
r="1.6315216" />
<circle
style="fill:none;fill-opacity:1;stroke:#7b7b7b;stroke-width:0.859;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
id="path897-6"
cx="44.589882"
cy="30.991968"
r="1.6315216" />
<circle
style="fill:none;fill-opacity:1;stroke:#7b7b7b;stroke-width:0.859;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
id="path897-7"
cx="38.901321"
cy="34.484943"
r="1.6315216" />
<circle
style="fill:none;fill-opacity:1;stroke:#7b7b7b;stroke-width:0.759;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
id="path897-5"
cx="33.611961"
cy="30.991968"
r="1.6315216" />
<circle
style="fill:none;fill-opacity:1;stroke:#7b7b7b;stroke-width:0.859;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
id="path897-35"
cx="33.611961"
cy="25.004015"
r="1.6315216" />
<circle
style="fill:#52c7ff;fill-opacity:1;stroke:none;stroke-width:1.77006;stroke-opacity:1"
id="path955"
cx="40.10733"
cy="26.11022"
r="0.62226534" />
<circle
style="fill:#52c7ff;fill-opacity:1;stroke:none;stroke-width:1.77006;stroke-opacity:1"
id="path955-6"
cx="41.205124"
cy="27.906609"
r="0.62226534" />
<circle
style="fill:#52c7ff;fill-opacity:1;stroke:none;stroke-width:1.77006;stroke-opacity:1"
id="path955-2"
cx="40.10733"
cy="29.802794"
r="0.62226534" />
<circle
style="fill:#52c7ff;fill-opacity:1;stroke:none;stroke-width:1.77006;stroke-opacity:1"
id="path955-9"
cx="38.011543"
cy="29.802794"
r="0.62226534" />
<circle
style="fill:#52c7ff;fill-opacity:1;stroke:none;stroke-width:1.77006;stroke-opacity:1"
id="path955-1"
cx="36.913754"
cy="27.906609"
r="0.62226534" />
<circle
style="fill:#52c7ff;fill-opacity:1;stroke:none;stroke-width:1.77006;stroke-opacity:1"
id="path955-27"
cx="38.011543"
cy="26.11022"
r="0.62226534" />
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8.70783px;line-height:125%;font-family:'GFS Baskerville';-inkscape-font-specification:'GFS Baskerville';letter-spacing:0px;word-spacing:0px;fill:#52c7ff;fill-opacity:1;stroke:none;stroke-width:0.816356px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="18.228146"
y="49.896107"
id="text1015"><tspan
sodipodi:role="line"
id="tspan1013"
x="18.228146"
y="49.896107"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Latin Modern Sans Quotation';-inkscape-font-specification:'Latin Modern Sans Quotation';stroke-width:0.816356px">EesyPHP</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5 KiB

View file

@ -22,8 +22,12 @@ class Cas extends Method {
* @return boolean * @return boolean
*/ */
public static function init() { public static function init() {
// In phpstan context, do not initialize // In CLI or Phpstan context, do not initialize
if (defined('__PHPSTAN_RUNNING__') && constant('__PHPSTAN_RUNNING__')) // @phpstan-ignore-line if (
php_sapi_name() == "cli"
// @phpstan-ignore-next-line
|| (defined('__PHPSTAN_RUNNING__') && constant('__PHPSTAN_RUNNING__'))
)
return true; return true;
// Set config default values // Set config default values
App :: set_default( App :: set_default(