Inhibit login for AS users

This commit is contained in:
Neil Alexander 2021-03-08 14:49:58 +00:00
parent 5912429d53
commit f1466ed856
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -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,
)
}