The registration flow needs some makeover.
Here is the flow chart of the registration process:
- pages that need to be converted to BP are highlighted in red with a *
- pages that are already converted are highlighted in green
graph TD
A[Register] --> B{Captcha <br>ok?}
B -->|no| F
B -->|yes| D(Create account)
D --> E{Account <br>created?}
E -->|no| F[Errors!]
E -->|yes| G(OIDC link registering account)
F --> H[Display register form]
H --> A
G --> I{User created <br> by site admin?}
I -->|yes| J{Should send <br>an email?}
J -->|no| R
J -->|yes| K(Send email to user with login and pwd #)
I -->|no| L{sys_user_approval = 0?}
L -->|no| M[Your account has been created<br>it must be approved by an administrator<br>Once approved clic the confirm button in this email]
L -->|yes| Q(Send confirmation email #)
Q --> P{mail accepted <br>for delivery?}
P -->|yes| O[Your account is created, </br>it now needs to be activated.<br>To do this clic the confirm button in the email]
P -->|no| S[Error sending <br>confirmation mail]
K --> R[The user account was created.<br>Please note the login and pwd]
style H fill:#f4f8e9,stroke:#6abf1d,color:#137900
style R fill:#f4f8e9,stroke:#6abf1d,color:#137900
style M fill:#f4f8e9,stroke:#6abf1d,color:#137900
style O fill:#f4f8e9,stroke:#6abf1d,color:#137900
style S fill:#f4f8e9,stroke:#6abf1d,color:#137900
(# indicates that new pages are needed to better identify errors while delivering the confirmation email)