Menu

New User Authentication

Help
2006-05-17
2012-10-11
  • Wang Xiaoyun

    Wang Xiaoyun - 2006-05-17

    I think I'm really stupid to comprehend the user authentication scheme of phpWiki after spend several hours without success, so please help me.

    My question is how can I let new user signup with email or administator manual authentication?
    My configuration is currently the following:
    ALLOW_ANON_USER = true
    ALLOW_ANON_EDIT = false
    ALLOW_BOGO_LOGIN = false
    ALLOW_USER_PASSWORDS = true
    It seems new user can never find a signup form. I don't want to enable ALLOW_BOGO_LOGIN because it seems quite prone to spam attack.

    Moreover, what shall I do to enable a new username which is a single word that can not be CamelCased? Even with ALLOW_BOGO_LOGIN = true, I can not get some Single-Capital usernames work.

    Thanks in advance.

     
    • Franklin Weng

      Franklin Weng - 2006-06-23

      I'm also new to this wiki too.

      From my experiments and experiences, if the config.ini was set as above, you need to add username/(encrypted)password manually in the file.

      And for the problem of BOGO_LOGIN, my way is to add a WIKI_WORD_REGEXP2 in config.ini, and modify anything for username check with isWikiWord().

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.