Skip to content

Commit

Permalink
Update max length for access key (#247)
Browse files Browse the repository at this point in the history
This caused the client to break after a recent change to prefix access
keys with "AS-". Likely this was causing the access key to be truncated.
  • Loading branch information
jrozner committed Mar 6, 2024
1 parent a4b74b1 commit fb1c04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/forms/firstRunWizard/apikeyspage.cpp
Expand Up @@ -71,7 +71,7 @@ ApiKeysPage::ApiKeysPage(QWidget *parent)
_lblAKey->setText(tr("Access Key"));

accessKeyLine = new QLineEdit(this);
accessKeyLine->setMaxLength(24);
accessKeyLine->setMaxLength(27);
accessKeyLine->setTextMargins(3,0,3,0);
accessKeyLine->setMaximumWidth(fontMetrics().averageCharWidth() * 27);
registerField("host.accessKey*", accessKeyLine);
Expand Down

0 comments on commit fb1c04e

Please sign in to comment.