浏览代码

Supporting change in authentication

父节点
当前提交
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
 }