Both OpenID and normal Login on the same View?
- by PlayKid
Hi there,
Is there any site that show both OpenID and normal login on the same view? Most of the sites either have OpenID implementation or Normal Login implementation on different views.
I tried to do that, but it seems my code is very dirty, passing a blank username and password if using OpenID, otherwise OpenID will be blank but passed the username and password.
But then I lose the capability of verifying whether the user has entered the correct values, is there any best practice for me to do that?
Thanks a lot