mirror of
https://gitea.com/gitea/tea.git
synced 2025-09-03 02:18:30 +02:00
Add OTP and scopes to login (#546)
Resolves #542 Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/546 Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: John Olheiser <john+gitea@jolheiser.com> Co-committed-by: John Olheiser <john+gitea@jolheiser.com>
This commit is contained in:

committed by
John Olheiser

parent
d15af88f83
commit
c8c8e9758b
@ -57,8 +57,12 @@ Add a Gitea login
|
||||
|
||||
**--no-version-check, --nv**: Do not check version of Gitea instance
|
||||
|
||||
**--otp**="": OTP token for auth, if necessary
|
||||
|
||||
**--password, --pwd**="": Password for basic auth (will create token)
|
||||
|
||||
**--scopes**="": Token scopes to add when creating a new token, separated by a comma
|
||||
|
||||
**--ssh-agent-key, -a**="": Use SSH public key or SSH fingerprint to login (needs a running ssh-agent with ssh key loaded)
|
||||
|
||||
**--ssh-agent-principal, -c**="": Use SSH certificate with specified principal to login (needs a running ssh-agent with certificate loaded)
|
||||
|
Reference in New Issue
Block a user