瀏覽代碼

Supporting change in authentication

Brendan Abolivier 8 年之前
父節點
當前提交
c18f381a79
簽署人: Brendan Abolivier <contact@brendanabolivier.com> GPG 金鑰 ID: 8EF1500759F70623
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      service1/index.php

+ 2
- 1
service1/index.php 查看文件

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