From f1466ed85692c9a5731e5f9f4d6e289ffd72d016 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 8 Mar 2021 14:49:58 +0000 Subject: [PATCH] Inhibit login for AS users --- clientapi/routing/register.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/routing/register.go b/clientapi/routing/register.go index 8e5a6b9b..97129416 100644 --- a/clientapi/routing/register.go +++ b/clientapi/routing/register.go @@ -725,7 +725,7 @@ func handleApplicationServiceRegistration( // application service registration is entirely separate. return completeRegistration( req.Context(), userAPI, r.Username, "", appserviceID, req.RemoteAddr, req.UserAgent(), - r.InhibitLogin, r.InitialDisplayName, r.DeviceID, + true, r.InitialDisplayName, r.DeviceID, ) }