mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Server Config Whitelist Email Providers (#4416)
* Support registration domain whitelist (registration/emailproviderwhitelist) that, if set, will require a user to have an email with one of the specified domain providers. Will require client updates to see the Whitelist message, otherwise they'll be greeted with a default alert. This also works to remove the pain of Google Email addresses and their infinite combination of usernames for the same account (i.e. remove periods and everything after the first plus sign). * Make blacklist response show custom dialog
This commit is contained in:
parent
c0bd49cf13
commit
051be37419
7 changed files with 104 additions and 34 deletions
|
|
@ -125,6 +125,7 @@ private:
|
|||
bool removeAdminFlagFromUser(const QString &user, int flag);
|
||||
|
||||
bool isPasswordLongEnough(const int passwordLength);
|
||||
static QString parseEmailAddress(const std::string &stdEmailAddress);
|
||||
|
||||
public:
|
||||
AbstractServerSocketInterface(Servatrice *_server,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue