WiP on permissions
Doesn't run. This commit is just to backup the changes.
This commit is contained in:
parent
5df444f641
commit
89c9615592
37 changed files with 913 additions and 366 deletions
|
@ -1,9 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
function usernameValid(username) {
|
||||
return /^[a-zA-Z0-9][a-zA-Z0-9_\-.]*$/.test(username);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
usernameValid
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue