Removed max auth attempts
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-05-03 14:30:19 +02:00
parent 219519dc26
commit d960ac7d84
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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);