don't auth if settings are not set to read
This commit is contained in:
parent
e63b1a0d8c
commit
184fe8d2cc
@ -352,6 +352,10 @@ export default class Connection {
|
||||
}
|
||||
|
||||
async _OnAuthAsync(challenge: string): Promise<void> {
|
||||
if(!this.Settings.read) {
|
||||
return;
|
||||
}
|
||||
|
||||
const authCleanup = () => {
|
||||
this.AwaitingAuth.delete(challenge)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user