Browse Source
Merge pull request #8167 from kalutkaz/accesTokenHint
Added hint to the "Password / access token" input (Repository settings)
pull/8278/head
Igor Kulikov
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
0 deletions
ui-ngx/src/app/modules/home/components/vc/repository-settings.component.html
ui-ngx/src/assets/locale/locale.constant-en_US.json
@ -74,6 +74,7 @@
< input matInput formControlName = "password" type = "password"
placeholder="{{ 'common.enter-password' | translate }}" autocomplete="new-password"/>
< tb-toggle-password matSuffix > < / tb-toggle-password >
< mat-hint [ innerHTML ] = " ' admin . auth-method-username-password-hint ' | translate " > < / mat-hint >
< / mat-form-field >
< / section >
< section [ fxShow ] = " repositorySettingsForm . get ( ' authMethod ' ) . value = == repositoryAuthMethod . PRIVATE_KEY " fxLayout = "column" >
@ -339,6 +339,7 @@
"authentication-settings" : "Authentication settings" ,
"auth-method" : "Authentication method" ,
"auth-method-username-password" : "Password / access token" ,
"auth-method-username-password-hint" : "GitHub users <b>must</b> use access <a href='https://github.com/settings/tokens' target='_blank'>tokens</a> with write permissions to the repository." ,
"auth-method-private-key" : "Private key" ,
"password-access-token" : "Password / access token" ,
"change-password-access-token" : "Change password / access token" ,