diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-02-20 19:49:48 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-02-20 19:49:48 +0800 |
commit | b34fc84582f9bde4cbaadcb836553882f36df4c0 (patch) | |
tree | 6ca4e78d86033ddc511637adf5100969ca52c351 /mbbsd/register.c | |
parent | 98c19f0596c7a78887e558c36b5fbea97690be04 (diff) | |
download | pttbbs-b34fc84582f9bde4cbaadcb836553882f36df4c0.tar pttbbs-b34fc84582f9bde4cbaadcb836553882f36df4c0.tar.gz pttbbs-b34fc84582f9bde4cbaadcb836553882f36df4c0.tar.bz2 pttbbs-b34fc84582f9bde4cbaadcb836553882f36df4c0.tar.lz pttbbs-b34fc84582f9bde4cbaadcb836553882f36df4c0.tar.xz pttbbs-b34fc84582f9bde4cbaadcb836553882f36df4c0.tar.zst pttbbs-b34fc84582f9bde4cbaadcb836553882f36df4c0.zip |
- prepare for new admin reg procedure
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3930 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/register.c')
-rw-r--r-- | mbbsd/register.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c index e2b3a6b3..75e05287 100644 --- a/mbbsd/register.c +++ b/mbbsd/register.c @@ -415,15 +415,30 @@ check_birthday(void) void check_register(void) { + char fn[PATHLEN]; + check_birthday(); if (HasUserPerm(PERM_LOGINOK)) return; + // see admin.c + setuserfile(fn, "justify.reject"); + + /* * 避免使用者被退回註冊單後,在知道退回的原因之前, * 又送出一次註冊單。 */ + if (dashf(fn)) + { + more(fn, NA); + move(b_lines-3, 0); + outs("上次註冊單審查失敗。\n" + "請重新申請並照上面指示正確填寫註冊單。"); + while(getans("請輸入 y 繼續: ") != 'y'); + unlink(fn); + } else if (ISNEWMAIL(currutmp)) m_read(); |