🐛 Fix duplicate auth request on socket
Merge error.
This commit is contained in:
1 parent
8ef3d1dcad
commit
f9edea0c2c
1 file changed
-3
@@ -71,9 +71,6 @@ $(function() {
|
||||
callViewModels(self.allViewModels, "onUserPermissionsChanged");
|
||||
log.info("User needs for " + response.name + " changed");
|
||||
}
|
||||
if (response.session) {
|
||||
OctoPrint.socket.sendAuth(response.name, response.session);
|
||||
}
|
||||
|
||||
if (response.session) {
|
||||
OctoPrint.socket.sendAuth(response.name, response.session);
|
||||
|
||||
Reference in new issue
Block a user