mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
fixed #631
This commit is contained in:
parent
fd9ff4c906
commit
7895141102
1 changed files with 22 additions and 25 deletions
|
@ -5,9 +5,9 @@
|
||||||
|
|
||||||
//Fields
|
//Fields
|
||||||
AccountsTemplates.addField({
|
AccountsTemplates.addField({
|
||||||
_id: "username",
|
_id: 'username',
|
||||||
type: "text",
|
type: 'text',
|
||||||
displayName: "username",
|
displayName: 'username',
|
||||||
required: true,
|
required: true,
|
||||||
minLength: 3,
|
minLength: 3,
|
||||||
errStr: 'error.minChar'
|
errStr: 'error.minChar'
|
||||||
|
@ -35,22 +35,22 @@ AccountsTemplates.addField({
|
||||||
|
|
||||||
/*
|
/*
|
||||||
AccountsTemplates.addField({
|
AccountsTemplates.addField({
|
||||||
_id: "username_and_email",
|
_id: 'username_and_email',
|
||||||
type: "text",
|
type: 'text',
|
||||||
displayName: "Name or Email",
|
displayName: 'Name or Email',
|
||||||
placeholder: "name or email",
|
placeholder: 'name or email',
|
||||||
});
|
});
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
//Routes
|
//Routes
|
||||||
AccountsTemplates.configureRoute("signIn");
|
AccountsTemplates.configureRoute('signIn');
|
||||||
AccountsTemplates.configureRoute("signUp");
|
AccountsTemplates.configureRoute('signUp');
|
||||||
AccountsTemplates.configureRoute("forgotPwd");
|
AccountsTemplates.configureRoute('forgotPwd');
|
||||||
AccountsTemplates.configureRoute("resetPwd");
|
AccountsTemplates.configureRoute('resetPwd');
|
||||||
//AccountsTemplates.configureRoute("changePwd");
|
//AccountsTemplates.configureRoute('changePwd');
|
||||||
//AccountsTemplates.configureRoute("enrollAccount");
|
//AccountsTemplates.configureRoute('enrollAccount');
|
||||||
//AccountsTemplates.configureRoute("verifyEmail");
|
//AccountsTemplates.configureRoute('verifyEmail');
|
||||||
|
|
||||||
|
|
||||||
// Options
|
// Options
|
||||||
|
@ -64,14 +64,11 @@ AccountsTemplates.configure({
|
||||||
positiveFeedback: false,
|
positiveFeedback: false,
|
||||||
negativeValidation: true,
|
negativeValidation: true,
|
||||||
positiveValidation: true
|
positiveValidation: true
|
||||||
/*
|
});
|
||||||
sendVerificationEmail: true,
|
|
||||||
continuousValidation: false,
|
// hack to get signOut route not considered among previous paths
|
||||||
showLabels: true,
|
if (Meteor.isClient) {
|
||||||
forbidClientAccountCreation: false,
|
Meteor.startup(function(){
|
||||||
formValidationFeedback: true,
|
AccountsTemplates.knownRoutes.push('/sign-out');
|
||||||
homeRoutePath: "/",
|
});
|
||||||
showAddRemoveServices: false,
|
}
|
||||||
showPlaceholders: true,
|
|
||||||
*/
|
|
||||||
});
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue