Open leodotcloud opened 11 months ago
No response
As a user after disabling registration in kratos configuration, I expect the login page of this project to not show up:
"Don't have an account? Sign up"
Clicking the Sign Up shows the error correctly:
{ "id": "3a1d7dc5-072d-4570-b61f-ca4e82ffb4b6", "error": { "id": "self_service_flow_disabled", "code": 400, "status": "Bad Request", "reason": "Registration is not allowed because it was disabled.", "message": "registration flow disabled" }, "created_at": "2023-10-17T19:03:27.068505Z", "updated_at": "2023-10-17T19:03:27.068505Z" }
Disable registration in kratos config:
registration: enabled: false
Run quickstart.yml quickstart-standalone.yml. Navigating to http://127.0.0.1:4455/login, reproduces the problem.
1.0.0
None
Preflight checklist
Ory Network Project
No response
Describe the bug
As a user after disabling registration in kratos configuration, I expect the login page of this project to not show up:
"Don't have an account? Sign up"
Clicking the Sign Up shows the error correctly:
Reproducing the bug
Disable registration in kratos config:
Run quickstart.yml quickstart-standalone.yml. Navigating to http://127.0.0.1:4455/login, reproduces the problem.
Relevant log output
No response
Relevant configuration
No response
Version
1.0.0
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
No response