mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	feat(web,server): disable password login (#1223)
* feat(web,server): disable password login * chore: unit tests * chore: fix import * chore: linting * feat(cli): server command for enable/disable password login * chore: update docs * feat(web): confirm dialogue * chore: linting * chore: linting * chore: linting * chore: linting * chore: linting * chore: fix web test * chore: server unit tests
This commit is contained in:
		
							
								
								
									
										41
									
								
								web/src/api/open-api/api.ts
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										41
									
								
								web/src/api/open-api/api.ts
									
									
									
										generated
									
									
									
								
							@@ -1377,6 +1377,12 @@ export interface OAuthConfigResponseDto {
 | 
			
		||||
     * @memberof OAuthConfigResponseDto
 | 
			
		||||
     */
 | 
			
		||||
    'enabled': boolean;
 | 
			
		||||
    /**
 | 
			
		||||
     * 
 | 
			
		||||
     * @type {boolean}
 | 
			
		||||
     * @memberof OAuthConfigResponseDto
 | 
			
		||||
     */
 | 
			
		||||
    'passwordLoginEnabled': boolean;
 | 
			
		||||
    /**
 | 
			
		||||
     * 
 | 
			
		||||
     * @type {string}
 | 
			
		||||
@@ -1389,6 +1395,12 @@ export interface OAuthConfigResponseDto {
 | 
			
		||||
     * @memberof OAuthConfigResponseDto
 | 
			
		||||
     */
 | 
			
		||||
    'buttonText'?: string;
 | 
			
		||||
    /**
 | 
			
		||||
     * 
 | 
			
		||||
     * @type {boolean}
 | 
			
		||||
     * @memberof OAuthConfigResponseDto
 | 
			
		||||
     */
 | 
			
		||||
    'autoLaunch'?: boolean;
 | 
			
		||||
}
 | 
			
		||||
/**
 | 
			
		||||
 * 
 | 
			
		||||
@@ -1602,10 +1614,10 @@ export interface SharedLinkResponseDto {
 | 
			
		||||
    'expiresAt': string | null;
 | 
			
		||||
    /**
 | 
			
		||||
     * 
 | 
			
		||||
     * @type {Array<string>}
 | 
			
		||||
     * @type {Array<AssetResponseDto>}
 | 
			
		||||
     * @memberof SharedLinkResponseDto
 | 
			
		||||
     */
 | 
			
		||||
    'assets': Array<string>;
 | 
			
		||||
    'assets': Array<AssetResponseDto>;
 | 
			
		||||
    /**
 | 
			
		||||
     * 
 | 
			
		||||
     * @type {AlbumResponseDto}
 | 
			
		||||
@@ -1707,6 +1719,12 @@ export interface SystemConfigDto {
 | 
			
		||||
     * @memberof SystemConfigDto
 | 
			
		||||
     */
 | 
			
		||||
    'oauth': SystemConfigOAuthDto;
 | 
			
		||||
    /**
 | 
			
		||||
     * 
 | 
			
		||||
     * @type {SystemConfigPasswordLoginDto}
 | 
			
		||||
     * @memberof SystemConfigDto
 | 
			
		||||
     */
 | 
			
		||||
    'passwordLogin': SystemConfigPasswordLoginDto;
 | 
			
		||||
    /**
 | 
			
		||||
     * 
 | 
			
		||||
     * @type {SystemConfigStorageTemplateDto}
 | 
			
		||||
@@ -1799,6 +1817,12 @@ export interface SystemConfigOAuthDto {
 | 
			
		||||
     * @memberof SystemConfigOAuthDto
 | 
			
		||||
     */
 | 
			
		||||
    'autoRegister': boolean;
 | 
			
		||||
    /**
 | 
			
		||||
     * 
 | 
			
		||||
     * @type {boolean}
 | 
			
		||||
     * @memberof SystemConfigOAuthDto
 | 
			
		||||
     */
 | 
			
		||||
    'autoLaunch': boolean;
 | 
			
		||||
    /**
 | 
			
		||||
     * 
 | 
			
		||||
     * @type {boolean}
 | 
			
		||||
@@ -1812,6 +1836,19 @@ export interface SystemConfigOAuthDto {
 | 
			
		||||
     */
 | 
			
		||||
    'mobileRedirectUri': string;
 | 
			
		||||
}
 | 
			
		||||
/**
 | 
			
		||||
 * 
 | 
			
		||||
 * @export
 | 
			
		||||
 * @interface SystemConfigPasswordLoginDto
 | 
			
		||||
 */
 | 
			
		||||
export interface SystemConfigPasswordLoginDto {
 | 
			
		||||
    /**
 | 
			
		||||
     * 
 | 
			
		||||
     * @type {boolean}
 | 
			
		||||
     * @memberof SystemConfigPasswordLoginDto
 | 
			
		||||
     */
 | 
			
		||||
    'enabled': boolean;
 | 
			
		||||
}
 | 
			
		||||
/**
 | 
			
		||||
 * 
 | 
			
		||||
 * @export
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user