Explorar el Código

Supporting change in authentication

Brendan Abolivier hace 8 años
padre
commit
c18f381a79
Firmado por: Brendan Abolivier <contact@brendanabolivier.com> ID clave GPG: 8EF1500759F70623
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      service1/index.php

+ 2
- 1
service1/index.php Ver fichero

@@ -29,7 +29,8 @@ try {
29 29
 }
30 30
 
31 31
 if($bool) {
32
-	echo "Access granted.\n<br />Welcome ".$m->getIdentifier()."!";
32
+	$name = join(" ", explode(";", $m->getIdentifier()));
33
+	echo "Access granted.\n<br />Welcome ".$name."!";
33 34
 } else {
34 35
 	echo "Access denied. Service is restricted to teachers.";
35 36
 }