WebServer - change /login-basic route to /login/basic

To avoid clashing with tiddlers called "login-basic" :)

We also need to revise the rout for /status for the same reason, but there are backward compatibility issues there
This commit is contained in:
Jermolene
2018-10-13 17:22:21 +01:00
parent d8007386cf
commit 9c849eb10a
4 changed files with 6 additions and 6 deletions
@@ -1,9 +1,9 @@
/*\
title: $:/core/modules/server/routes/get-login-basic.js
title: $:/core/modules/server/routes/get-login/basic.js
type: application/javascript
module-type: route
GET /login-basic -- force a Basic Authentication challenge
GET /login/basic -- force a Basic Authentication challenge
\*/
(function() {
@@ -14,7 +14,7 @@ GET /login-basic -- force a Basic Authentication challenge
exports.method = "GET";
exports.path = /^\/login-basic$/;
exports.path = /^\/login\/basic$/;
exports.handler = function(request,response,state) {
if(!state.authenticatedUsername) {