Browse Source

Supporting change in authentication

Brendan Abolivier 7 years ago
parent
commit
c18f381a79
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      service1/index.php

+ 2
- 1
service1/index.php View File

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