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:
parent
4e77f1124c
commit
9ed1b77c54
@ -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);
|
||||
|
@ -35,6 +35,7 @@ export interface UDSMessages {
|
||||
}
|
||||
|
||||
export interface UDSConfig {
|
||||
readonly site_name: string;
|
||||
readonly version: string;
|
||||
readonly version_stamp: string;
|
||||
readonly language: string;
|
||||
|
Loading…
Reference in New Issue
Block a user