Pārlūkot izejas kodu

Supporting change in authentication

Brendan Abolivier 8 gadus atpakaļ
vecāks
revīzija
c18f381a79
Parakstījis: Brendan Abolivier <contact@brendanabolivier.com> GPG atslēgas ID: 8EF1500759F70623
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2
    1
      service1/index.php

+ 2
- 1
service1/index.php Parādīt failu

@@ -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
 }