Stronger password.

This commit is contained in:
John Livingston 2023-09-20 10:29:18 +02:00
parent 852221d232
commit 6c966f608b
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -185,7 +185,7 @@ class BotConfiguration {
type: 'client',
connection: {
username: 'moderator',
password: Math.random().toString(36).slice(2, 12),
password: Math.random().toString(36).slice(2, 12) + Math.random().toString(36).slice(2, 12),
domain: this.botsDomain,
// Note: using localhost, and not currentProsody.host, because it does not always resolve correctly
service: 'xmpp://localhost:' + port