Removed max auth attempts
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
219519dc26
commit
d960ac7d84
|
@ -19,7 +19,7 @@ ext install dbaeumer.vscode-eslint
|
||||||
|
|
||||||
You will need to install globally the following items.
|
You will need to install globally the following items.
|
||||||
```
|
```
|
||||||
# npm install -g jest gulp-cli nodemon
|
# sudo npm install -g jest gulp-cli nodemon
|
||||||
```
|
```
|
||||||
## Linux Only Prerequisites
|
## Linux Only Prerequisites
|
||||||
|
|
||||||
|
|
|
@ -47,8 +47,7 @@ module.exports = Self => {
|
||||||
'alias': sender.nickname,
|
'alias': sender.nickname,
|
||||||
'text': message
|
'text': message
|
||||||
}).catch(async error => {
|
}).catch(async error => {
|
||||||
if (error.statusCode === 401 && !this.resendAttempted) {
|
if (error.statusCode === 401) {
|
||||||
this.resendAttempted = true;
|
|
||||||
this.auth = null;
|
this.auth = null;
|
||||||
|
|
||||||
return sendMessage(sender, channel, message);
|
return sendMessage(sender, channel, message);
|
||||||
|
|
Loading…
Reference in New Issue