mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor: reset admin password (#1335)
* refactor: reset-admin-password * chore: docs
This commit is contained in:
parent
5a6a726014
commit
1e2f02613f
8 changed files with 100 additions and 40 deletions
BIN
docs/docs/features/img/disable-password-login.png
Normal file
BIN
docs/docs/features/img/disable-password-login.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
BIN
docs/docs/features/img/enable-password-login.png
Normal file
BIN
docs/docs/features/img/enable-password-login.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
BIN
docs/docs/features/img/reset-admin-password.png
Normal file
BIN
docs/docs/features/img/reset-admin-password.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
|
|
@ -11,29 +11,18 @@ The `immich-server` docker image comes preinstalled with an administrative CLI (
|
|||
|
||||
## How to run a command
|
||||
|
||||
To run a command, connect to the container and then execute it by running `immich <command>`.
|
||||
To run a command, [connect](/docs/guides/docker-help.md#attach-to-a-container) to the `immich_server` container and then execute the command via `immich <command>`.
|
||||
|
||||
## Examples
|
||||
|
||||
```bash title="Reset Admin Password"
|
||||
docker exec -it immich_server sh
|
||||
Reset Admin Password
|
||||
|
||||
/usr/src/app$ immich reset-admin-password
|
||||
? Please choose a new password (optional) immich-is-awesome-unlike-this-password
|
||||
New password:
|
||||
immich-is-awesome-unlike-this-password
|
||||
```
|
||||

|
||||
|
||||
```bash title="Disable Password Login"
|
||||
docker exec -it immich_server sh
|
||||
Disable Password Login
|
||||
|
||||
/usr/src/app$ immich disable-password-login
|
||||
Password login has been disabled.
|
||||
```
|
||||

|
||||
|
||||
```bash title="Enable Password Login"
|
||||
docker exec -it immich_server sh
|
||||
Enabled Password Login
|
||||
|
||||
/usr/src/app$ immich enable-password-login
|
||||
Password login has been enabled.
|
||||
```
|
||||

|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue