Needs work
Project:
Restrict Domain Registration
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Aug 2016 at 13:06 UTC
Updated:
11 Feb 2020 at 12:47 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
stylaone commented1.
Okay, I found an solution by myself. Maybe not the best, but one for now.
With that solution you can insert full E-Mail adresses and domains at the same time.
From Line 30
From Line 40
2.
A second solution would be to change two things. After that you can test both variants too.
Line 30
and Line 68
Comment #3
SMartin commentedstyalone,
I'm a Newb and I need this functionality too :-)
Is your solution still working for you? Can you elaborate on how to implement it? Which file did you modify? Did you add the code above or change some existing code?
Thanks :-)
Simon
Comment #4
SMartin commentedI haven't tested this extensively but it seems that if you add the domain of the email address you want to set up an account for in this module, save the settings, create the account, then immediately remove the domain from settings again, the account will still be active and usable.
Hope that works for others...
S
Comment #5
pcambraI think this would be useful, does somebody want to post a patch for it?
Comment #6
rithesh bk commentedcurrently working on it ......
Comment #7
rithesh bk commentedPlease find the updated patch .......
Comment #8
pcambraThanks, a couple of comments:
This should use snake case and not camel case.
Format of the code was fine already, and there are extra tabs here.
Comment #9
dhirendra.mishra commentedComment #10
pcambraTaking a second look here, it seems that mail_domain and mail variables have exactly the same values, mind explaining what are you trying to do here?
Please make sure you're testing the module after this change, we should probably add a test for this anyways.