diff options
Diffstat (limited to 'htroot/Wiki.java')
| -rw-r--r-- | htroot/Wiki.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/htroot/Wiki.java b/htroot/Wiki.java index ef189bcdd..a0e949bdd 100644 --- a/htroot/Wiki.java +++ b/htroot/Wiki.java @@ -86,7 +86,7 @@ public class Wiki { // only the administrator may change the access right
if (!sb.verifyAuthentication(header)) {
// check access right for admin
- prop.put("AUTHENTICATE", "admin log-in"); // force log-in
+ prop.authenticationRequired();
return prop;
}
@@ -105,7 +105,7 @@ public class Wiki { if ((access.equals("admin") && (!sb.verifyAuthentication(header)))) {
// check access right for admin
- prop.put("AUTHENTICATE", "admin log-in"); // force log-in
+ prop.authenticationRequired();
return prop;
}
@@ -129,7 +129,7 @@ public class Wiki { if (post != null && post.containsKey("edit")) {
if ((access.equals("admin") && (!sb.verifyAuthentication(header)))) {
// check access right for admin
- prop.put("AUTHENTICATE", "admin log-in"); // force log-in
+ prop.authenticationRequired();
return prop;
}
|
