more tinkering with openid
authorArt Cancro <ajc@citadel.org>
Sat, 17 May 2008 03:01:42 +0000 (03:01 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 17 May 2008 03:01:42 +0000 (03:01 +0000)
webcit/auth.c

index cee4bbf508eec6bda13bb950bf38c8d47d8d8376..e637da46a73d89342f720339d43468a8f8b54601 100644 (file)
@@ -408,6 +408,11 @@ void do_openid_login(void)
  */
 void finish_openid_login(void)
 {
+       if (havebstr("openid.user_setup_url")) {
+               http_redirect(bstr("openid.user_setup_url"));
+               return;
+       }
+
        if (havebstr("openid.mode")) {
                if (!strcasecmp(bstr("openid.mode"), "error")) {
                        if (havebstr("openid.error")) {