Re: [PATCH v2 compass-ci] assign-account-tool: update email content

On Thu, Feb 10, 2022 at 09:53:48PM +0800, Wei Jihui wrote:
On Thu, Feb 10, 2022 at 03:58:43PM +0800, Luan Shengde wrote:
From: Luan Shengde <shdluan@163.com>
for only login with public key is allow now, update the email content.
Signed-off-by: Luan Shengde <shdluan@163.com> --- .../assign-account/build-send-account-email.rb | 13 ++++++++++--- container/assign-account/build-update-email.rb | 13 +++++++++++-- 2 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/container/assign-account/build-send-account-email.rb b/container/assign-account/build-send-account-email.rb index 3c414041..f30de78b 100755 --- a/container/assign-account/build-send-account-email.rb +++ b/container/assign-account/build-send-account-email.rb @@ -16,10 +16,17 @@ def build_message(email, account_info) Login command: ssh -p #{account_info['jumper_port']} #{account_info['my_login_name']}@#{account_info['jumper_host']}
- Account password: - #{account_info['my_password']} + You can directly use the public key you offered to login the account-ver server.
- You can use your pub_key to login if you have offered one. + Case your private key for the public key you offered has changed and lead to login failures, you can contact our technical support staff for help: + + name: Zhang Dewan + phone: 18969058870 + email: zhangdewan1@compass-ci.org + + name: Luan Shengde + phone: 15109218229 + email: luanshengde@compass-ci.org
Suggest: If you use the password to login, change it in time. diff --git a/container/assign-account/build-update-email.rb b/container/assign-account/build-update-email.rb index 40d6b3b3..0a298ac8 100755 --- a/container/assign-account/build-update-email.rb +++ b/container/assign-account/build-update-email.rb @@ -18,8 +18,17 @@ def build_update_message(email, account_info, conf_info) Login command: ssh -p #{account_info['jumper_port']} #{account_info['my_login_name']}@#{account_info['jumper_host']}
- Account password: - #{account_info['my_password']} + You can directly use the public key you offered to loging the jumper server.
loging --> login?
Thanks, Jihui
OK, I will fix it Thanks, Luan Shengde
+ + Case your private key for the public key you offered has changed and lead to login failures, you can contact our technical support staff for help: + + name: Zhang Dewan + phone: 18969058870 + email: zhangdewan1@compass-ci.org + + name: Luan Shengde + phone: 15109218229 + email: luanshengde@compass-ci.org
regards compass-ci -- 2.23.0
participants (1)
-
Luan Shengde