Browse Source

Minnor fix

pull/3557/head
Vladyslav_Prykhodko 6 years ago
parent
commit
294664b746
  1. 16
      ui-ngx/src/app/core/guards/redirect.guard.ts
  2. 2
      ui-ngx/src/app/modules/home/pages/admin/oauth2-settings.component.html

16
ui-ngx/src/app/core/guards/redirect.guard.ts

@ -1,3 +1,19 @@
///
/// Copyright © 2016-2020 The Thingsboard Authors
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///
import { Injectable } from '@angular/core';
import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';
import { AuthState } from '@core/auth/auth.models';

2
ui-ngx/src/app/modules/home/pages/admin/oauth2-settings.component.html

@ -295,7 +295,7 @@
<div fxLayout="row" fxLayout.xs="column" fxLayoutGap.gt-xs="8px">
<mat-form-field fxFlex class="mat-block">
<mat-label translate>common.username</mat-label>
<input matInput formControlName="username">
<input matInput formControlName="username" autocomplete="new-username">
</mat-form-field>
<mat-form-field fxFlex class="mat-block">

Loading…
Cancel
Save