From f46723fd67798f3dd00d2e6baed1c619261accab Mon Sep 17 00:00:00 2001 From: dpi Date: Wed, 4 Nov 2020 20:08:01 +0800 Subject: [PATCH] Deleting an access token isn't considered erroneous --- src/Form/AuthmanAuthInfoForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Form/AuthmanAuthInfoForm.php b/src/Form/AuthmanAuthInfoForm.php index ca0621e..0228de2 100644 --- a/src/Form/AuthmanAuthInfoForm.php +++ b/src/Form/AuthmanAuthInfoForm.php @@ -208,7 +208,7 @@ public function resetAccessToken(array &$form, FormStateInterface $form_state) { $accessTokenKey->setKeyValue($values); $accessTokenKey->save(); - $this->messenger->addError('Deleted access token.'); + $this->messenger->addMessage('Deleted access token.'); } /**