1
0
mirror of https://github.com/dkmstr/openuds-gui.git synced 2024-10-26 08:55:23 +03:00

added site name configuration

This commit is contained in:
Adolfo Gómez García 2019-12-23 12:04:58 +01:00
parent 4e77f1124c
commit 9ed1b77c54
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ export class LoginComponent implements OnInit {
title = 'UDS Enterprise';
constructor(public api: UDSApiService) {
this.title = api.config.site_name;
this.auths = api.config.authenticators.slice(0);
// Sort array, so we can display it correctly
this.auths.sort((a, b) => a.priority - b.priority);

View File

@ -35,6 +35,7 @@ export interface UDSMessages {
}
export interface UDSConfig {
readonly site_name: string;
readonly version: string;
readonly version_stamp: string;
readonly language: string;