Fixed the hard coded server url to login a user per access token.
This commit is contained in:
@ -302,7 +302,7 @@ void ItemDetailMapper::onAccessCodeChanged(const QString& text) {
|
||||
updateQRCode("");
|
||||
} else {
|
||||
m_sendInviteMailButton->setEnabled(true);
|
||||
const QString accessUrl = "http://127.0.0.1:4000/api/users/" + text;
|
||||
const QString accessUrl = "http://127.0.0.1:4000/log_in/" + text;
|
||||
m_accessUrlDisplay->setText(accessUrl);
|
||||
updateQRCode(accessUrl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user