Begin working new user registration into the login dialog
[citadel.git] / webcit / webcit.c
index 3c9263662a9306897ec07d7cccdc6c6ebddc566b..c99f64c4777dfee4ba2e62bb66b2f6a1ede9b598 100644 (file)
@@ -512,6 +512,12 @@ void push_destination(void) {
 void pop_destination(void) {
        wcsession *WCC = WC;
 
+       if ((WCC) && (WCC->need_regi)) {
+               WCC->need_regi = 0;
+               display_reg(1);
+               return;
+       }
+
        if ( (!WCC) || (WCC->PushedDestination == NULL) || (StrLength(WCC->PushedDestination) == 0) ) {
                do_welcome();
                return;