bccampus / validate-by-domain Goto Github PK
View Code? Open in Web Editor NEWBuilt initially for the early years project where it is necessary to restrict registration by domain
License: GNU General Public License v3.0
Built initially for the early years project where it is necessary to restrict registration by domain
License: GNU General Public License v3.0
Mapping of user role to capability only works if the default role is set to 'subscriber'
The domains in the whitelist are supposed to stop the registration of organizer accounts without a valid domain. Dev branch currently allows registration with any domain, and ignores the whitelist.
User currently has update the hardcoded value, bring it into the plugin options or figure out a way to make this work without the need to set the field value.
Let the user set which role that user gets
The plugin assumes that we're using BuddyPress and it's sign-up page. Let's Add a check to make sure BP plugin is active, or that a BP function exists.
Make sure there's only one domain per line, and remove all unnecessary characters
Let the user add the validate by domain functionality on an e-mail input field of their choice.
When the user doesn't have a valid domain, or is on the blacklist, an hard coded error message is displayed: "Please use an email address from an allowed agency or institution within British Columbia" ... bring this into the options page to allow the user to set both the blacklist and whitelist error messages.
Get this option working, to allow the user to turn off the functionality in the options page without having to disable the plugin.
the value to check against field_155
is not reliable/stable across sites.
Currently there is no way to set the domains on the Blacklist without editing the code, bring this into the plugin options just like the Whitelist.
Early this morning there were two successful user registrations that by-passed the check for domains during a sign up event. The domains used were mail.ru
and wugjeyxwgv.pl
.
IP 114.37.245.67
is located in Taiwan
IP 191.101.65.167
is located in Germany
The similarity between bccampus/bc-validate and bccampus/validate-by-domain justifies the effort to investigate incorporating the use case for bc-validate. Maintaining two plugins that do similar things doubles the effort.
Expected behaviour
The scope of validate-by-domain should be expanded to incorporate more and broader use cases.
Actual behaviour
The scope is currently limited to one particular use case with very specific dependencies (ie buddypress, specific sign-up fields)
Is this plugin work with Pressbooks.
Expected behaviour
[What you expect/want to happen]
Actual behaviour
[What actually happened]
[First Step, Second Step, etc]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.