Adding sections to login form and allowing schema overriding
This commit is contained in:
1 parent
c89b0d4bef
commit
4fd18c61aa
9 files changed
+26
-15
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import './getName';
|
||||
import './login';
|
||||
import './logout';
|
||||
import './schema';
|
||||
@@ -0,0 +1,14 @@
|
||||
import { OHIF } from 'meteor/ohif:core';
|
||||
import { ReactiveVar } from 'meteor/reactive-var';
|
||||
import { SimpleSchema } from 'meteor/aldeed:simple-schema';
|
||||
|
||||
OHIF.user.schema = new ReactiveVar(new SimpleSchema({
|
||||
username: {
|
||||
type: String,
|
||||
label: 'Username'
|
||||
},
|
||||
password: {
|
||||
type: String,
|
||||
label: 'Password'
|
||||
}
|
||||
}));
|
||||
Reference in new issue
Block a user