[PR #1223] [MERGED] feat(web,server): disable password login #8959

Closed
opened 2026-02-05 13:56:07 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/1223
Author: @jrasm91
Created: 12/30/2022
Status: Merged
Merged: 1/10/2023
Merged by: @jrasm91

Base: mainHead: feature/disable-password-login


📝 Commits (10+)

📊 Changes

66 files changed (+858 additions, -164 deletions)

View changed files

docs/docs/features/img/password-login-settings.png (+0 -0)
docs/docs/features/img/user-management-update.png (+0 -0)
📝 docs/docs/features/oauth.md (+15 -10)
docs/docs/features/password-login.md (+32 -0)
📝 docs/docs/features/server-commands.md (+26 -8)
📝 docs/docs/features/user-management.mdx (+6 -0)
📝 mobile/openapi/.openapi-generator/FILES (+3 -0)
📝 mobile/openapi/README.md (+1 -0)
📝 mobile/openapi/doc/OAuthConfigResponseDto.md (+5 -3)
📝 mobile/openapi/doc/SharedLinkResponseDto.md (+1 -1)
📝 mobile/openapi/doc/SystemConfigDto.md (+1 -0)
📝 mobile/openapi/doc/SystemConfigOAuthDto.md (+1 -0)
mobile/openapi/doc/SystemConfigPasswordLoginDto.md (+15 -0)
📝 mobile/openapi/lib/api.dart (+1 -0)
📝 mobile/openapi/lib/api_client.dart (+2 -0)
📝 mobile/openapi/lib/model/o_auth_config_response_dto.dart (+28 -3)
📝 mobile/openapi/lib/model/shared_link_response_dto.dart (+2 -4)
📝 mobile/openapi/lib/model/system_config_dto.dart (+9 -1)
📝 mobile/openapi/lib/model/system_config_o_auth_dto.dart (+9 -1)
mobile/openapi/lib/model/system_config_password_login_dto.dart (+111 -0)

...and 46 more files

📄 Description

This PR adds new options to enable/disable both password login and auto launching OAuth from the login page.

Fixes #997.

TODO:

  • Update docs to explain new options
  • Add cli command to re-enable password login (prevent accidental lockout)

image
image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/1223 **Author:** [@jrasm91](https://github.com/jrasm91) **Created:** 12/30/2022 **Status:** ✅ Merged **Merged:** 1/10/2023 **Merged by:** [@jrasm91](https://github.com/jrasm91) **Base:** `main` ← **Head:** `feature/disable-password-login` --- ### 📝 Commits (10+) - [`6b64f27`](https://github.com/immich-app/immich/commit/6b64f27d910ec03f3f2acde4faba0659dbc463d4) feat(web,server): disable password login - [`9e25d29`](https://github.com/immich-app/immich/commit/9e25d29f91ab8f2a846c190572fadc43a9ab442a) chore: unit tests - [`a03ce50`](https://github.com/immich-app/immich/commit/a03ce508217ae25e032ea80bf2b2f127af6ccdf0) chore: fix import - [`941287f`](https://github.com/immich-app/immich/commit/941287f508b82fc0d9ce5e6d7f16532acf204078) chore: merge - [`97d451d`](https://github.com/immich-app/immich/commit/97d451d2b2e7f5a762a13ff11bdb3b39137b9e30) chore: linting - [`047985d`](https://github.com/immich-app/immich/commit/047985d9a98e7bf66c4c6bef9b758fed259fd0de) feat(cli): server command for enable/disable password login - [`4f0f363`](https://github.com/immich-app/immich/commit/4f0f363d7bdeb53d7d73e0adecda4fe5f1b1f0cd) chore: update docs - [`ecf9616`](https://github.com/immich-app/immich/commit/ecf96163da9c5f97fdac4a95ceb41bc5e04633a3) chore: merge - [`a5b44db`](https://github.com/immich-app/immich/commit/a5b44db0a3a8536075f535b4191dc7c19229edc4) feat(web): confirm dialogue - [`146fa7d`](https://github.com/immich-app/immich/commit/146fa7d181f2ef497fe5a283d3f84b4d9d17d392) chore: linting ### 📊 Changes **66 files changed** (+858 additions, -164 deletions) <details> <summary>View changed files</summary> ➕ `docs/docs/features/img/password-login-settings.png` (+0 -0) ➕ `docs/docs/features/img/user-management-update.png` (+0 -0) 📝 `docs/docs/features/oauth.md` (+15 -10) ➕ `docs/docs/features/password-login.md` (+32 -0) 📝 `docs/docs/features/server-commands.md` (+26 -8) 📝 `docs/docs/features/user-management.mdx` (+6 -0) 📝 `mobile/openapi/.openapi-generator/FILES` (+3 -0) 📝 `mobile/openapi/README.md` (+1 -0) 📝 `mobile/openapi/doc/OAuthConfigResponseDto.md` (+5 -3) 📝 `mobile/openapi/doc/SharedLinkResponseDto.md` (+1 -1) 📝 `mobile/openapi/doc/SystemConfigDto.md` (+1 -0) 📝 `mobile/openapi/doc/SystemConfigOAuthDto.md` (+1 -0) ➕ `mobile/openapi/doc/SystemConfigPasswordLoginDto.md` (+15 -0) 📝 `mobile/openapi/lib/api.dart` (+1 -0) 📝 `mobile/openapi/lib/api_client.dart` (+2 -0) 📝 `mobile/openapi/lib/model/o_auth_config_response_dto.dart` (+28 -3) 📝 `mobile/openapi/lib/model/shared_link_response_dto.dart` (+2 -4) 📝 `mobile/openapi/lib/model/system_config_dto.dart` (+9 -1) 📝 `mobile/openapi/lib/model/system_config_o_auth_dto.dart` (+9 -1) ➕ `mobile/openapi/lib/model/system_config_password_login_dto.dart` (+111 -0) _...and 46 more files_ </details> ### 📄 Description This PR adds new options to enable/disable both password login and auto launching OAuth from the login page. Fixes #997. TODO: - [x] Update docs to explain new options - [x] Add cli command to re-enable password login (prevent accidental lockout) ![image](https://user-images.githubusercontent.com/4334196/210036431-499fd6e9-ef15-43ae-9b2e-9468d83895c5.png) ![image](https://user-images.githubusercontent.com/4334196/210036458-8cc29dac-6fba-4b8e-b986-0fbc86cce560.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 13:56:07 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#8959