refactor!: remove verify mail, default action on keycloak now
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
83a02d69d4
commit
b4c974c001
@ -107,10 +107,7 @@ def form_keycloak_register(
|
|||||||
}
|
}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
user_id = request.app.state.keycloak.create_user(
|
request.app.state.keycloak.create_user(payload, exist_ok=False)
|
||||||
payload, exist_ok=False
|
|
||||||
)
|
|
||||||
request.app.state.keycloak.send_verify_email(user_id=user_id)
|
|
||||||
except Exception as exception:
|
except Exception as exception:
|
||||||
request.app.state.log.error(
|
request.app.state.log.error(
|
||||||
f"Keycloak user registration failed, saw: {exception}"
|
f"Keycloak user registration failed, saw: {exception}"
|
||||||
|
Loading…
Reference in New Issue
Block a user