Add core flow docs
This commit is contained in:
23
project-specs/CHANGE_PASSWORD_FLOW.md
Normal file
23
project-specs/CHANGE_PASSWORD_FLOW.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# Change Password Flow
|
||||
|
||||
Flow untuk mengganti password akun dokter.
|
||||
|
||||
```mermaid
|
||||
flowchart LR
|
||||
A["Settings"] --> B["Change Password"]
|
||||
B --> C["Isi current password"]
|
||||
C --> D["Isi new password"]
|
||||
D --> E["Confirm password"]
|
||||
E --> F["Submit form"]
|
||||
F --> G["POST /auth/change_password"]
|
||||
G --> H["Redirect ke Settings"]
|
||||
```
|
||||
|
||||
## Ringkas
|
||||
|
||||
- Buka menu settings.
|
||||
- Masuk ke form change password.
|
||||
- Isi password lama, password baru, dan konfirmasi.
|
||||
- Submit ke endpoint auth change password.
|
||||
- Jika sukses, kembali ke settings.
|
||||
|
||||
Reference in New Issue
Block a user