Skip to content

Commit ccec996

Browse files
committed
Update disable login message.
1 parent 8a0ca5e commit ccec996

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pages/_middleware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function customScriptName(req) {
1717

1818
function disableLogin(req) {
1919
if (process.env.DISABLE_LOGIN && req.nextUrl.pathname.endsWith('/login')) {
20-
return new Response('403 Forbidden', { status: 403 });
20+
return new Response('Login is disabled', { status: 403 });
2121
}
2222
}
2323

0 commit comments

Comments
 (0)