]> andersk Git - moira.git/commitdiff
allow user to toggle secure flag in "modify user fields" if account
authordanw <danw>
Tue, 11 Aug 1998 18:42:32 +0000 (18:42 +0000)
committerdanw <danw>
Tue, 11 Aug 1998 18:42:32 +0000 (18:42 +0000)
state is 0 (unregistered).

clients/moira/user.c

index dc6719a2c751eb223635c71f662241ca17618f6e..5b79fc28373f8f4fa292b2febe71bf699d2591e9 100644 (file)
@@ -291,7 +291,7 @@ char **AskUserInfo(char **info, Bool name)
   if (GetValueFromUser("Comments", &info[U_COMMENT]) == SUB_ERROR)
     return NULL;
 
-  if (!name)
+  if (!name || !atoi(info[U_STATE]))
     {
       if (YesNoQuestion("User needs secure Account Coupon to register",
                        atoi(info[U_SECURE]) ? TRUE : FALSE) == FALSE)
This page took 0.039784 seconds and 5 git commands to generate.