Both OpenID and normal Login on the same View?

Posted by PlayKid on Stack Overflow See other posts from Stack Overflow or by PlayKid
Published on 2010-06-11T07:41:06Z Indexed on 2010/06/12 18:52 UTC
Read the original article Hit count: 184

Filed under:
|
|
|
|

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

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET