FlexHub Forum

How to create profiles with no passwords?

Offline LadyStardust

  • *****
  • 257
  • aka Puma
How to create profiles with no passwords?
« on: December 05, 2011, 20:11:14 »
First step is to enable the blank password option: !set pass_allowblank true
From now on hub will automatically check all accounts once every 24 hours and notify hubowner about any accounts without passwords.
To add new account with no password use:
    !addreg <nick> <password> <profile> [<ip(optional)>]
   You can add an account without setting a password by using "" as password but ONLY if you at the same time provide a bind IP.
   Only after the user has set the password (s)he will be moved from ordinary user to the set profile.
   Use !showprofiles to show avaliable user profiles
Example:
!addreg NewUser "" Reg 211.211.11.11

Depending on protocol and client this user will use - if password for your hub is already placed in settings, client will provide it automatically. Otherwise user has to use !setpass <password> command to set up his password. To check if any users didn't set up their passwords yet use !showemptypass
Quote
[20:09:46] <Winterfell> *** !showemptypass
[20:09:46] <Winterfell> Found the following 1 reg(s) without a password set:

   Nick      Reg Date         Last Login   Bound IP      Added/Changed by
   ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   NewUser                    2011/12/05     20:06:59   <never logged in>   211.211.11.11   Dust
« Last Edit: March 25, 2012, 20:47:49 by LadyStardust »
Best regards,
LS

Offline sergius_s

  • *
  • 236
  • Be yourself...
Re: How to create profiles with no passwords?
« Reply #1 on: July 03, 2013, 09:24:54 »
Hello, Lady :)

Quote
but ONLY if you at the same time provide a bind IP.

But most users have a dynamic IP, what to do in this case?
- I'm sorry for my terrible english...

Offline FlipFlop™

  • FlexHub Developer
  • *****
  • 505
Re: How to create profiles with no passwords?
« Reply #2 on: July 03, 2013, 10:09:12 »
You'll have to set a password or delete the registration and register when he connects again.
If the IP is unknown and the pass isn't set, there's no way to tell if user 'SomeNickname' is really the same 'SomeNickname'.
Check the new FlexHubList!           Add awesome statistics like this for your hub!

This post is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.