mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-17 11:59:30 +00:00
Improve error report when user passes a private key (#22726)
The error reported when a user passes a private ssh key as their ssh public key is not very nice. This PR improves this slightly. Ref #22693 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
parent
ccb3851281
commit
2914c5299b
5 changed files with 13 additions and 0 deletions
|
@ -518,6 +518,7 @@ organization_leave_success = You have successfully left the organization %s.
|
|||
invalid_ssh_key = Cannot verify your SSH key: %s
|
||||
invalid_gpg_key = Cannot verify your GPG key: %s
|
||||
invalid_ssh_principal = Invalid principal: %s
|
||||
must_use_public_key = The key you provided is a private key. Please do not upload your private key anywhere. Use your public key instead.
|
||||
unable_verify_ssh_key = "Cannot verify the SSH key; double-check it for mistakes."
|
||||
auth_failed = Authentication failed: %v
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue