Hide Forgot
It would be great if instead of the regexp and vague-ish text, something like "Sorry, you can't use the Fedora IdP for a Red Hat account, please use the corresponding option." could be shown when the Fedora IdP is used for an @redhat.com email.
Tested on QA environment(5.0.3-rh18) Result: Failed Steps: 1.Can't trigger out the prompt of "Sorry, you can't use the Fedora IdP for a Red Hat account, please use the corresponding option." could be shown when the Fedora IdP is used for an @redhat.com email." @Dev, Could you give some guide for this test?
Bah, the regex needs to be the same as the Red Hat Customer regex. ^(?!.*@redhat.com) I updated it in your database and it works properly now.
Tested on QA environment(5.0.3-rh18) Result: Pass 1.When login using fedora account which endwith @redhat.com ==>login failed with: @redhat.com address must use the Red Hat Associate IDP to login.