Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion anchor/server/api/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ internals.applyRoutes = function (server, next) {
Joi.validate(request.payload.password, new PasswordComplexity(complexityOptions), (err, value) => {

if (err) {
return reply(Boom.conflict('Password does not meet complexity standards'));
return reply(Boom.conflict('Your password must have at least 8 characters, 1 lowercase letter, 1 uppercase letter, 1 numeric character, and 1 symbol.'));
}
reply(true);
});
Expand Down
6 changes: 3 additions & 3 deletions anchor/server/api/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ internals.applyRoutes = function (server, next) {
_id: { $in: patientsObjectIds }
};

//this is the global query object
//this is the global query object
query = filter;
}

Expand Down Expand Up @@ -338,7 +338,7 @@ internals.applyRoutes = function (server, next) {
Joi.validate(request.payload.password, new PasswordComplexity(complexityOptions), (err, value) => {

if (err) {
return reply(Boom.conflict('Password does not meet complexity standards'));
return reply(Boom.conflict('Your password must have at least 8 characters, 1 lowercase letter, 1 uppercase letter, 1 numeric character, and 1 symbol.'));
}
reply(true);
});
Expand Down Expand Up @@ -745,7 +745,7 @@ internals.applyRoutes = function (server, next) {
Joi.validate(request.payload.password, new PasswordComplexity(complexityOptions), (err, value) => {

if (err) {
return reply(Boom.conflict('Password does not meet complexity standards'));
return reply(Boom.conflict('Your password must have at least 8 characters, 1 lowercase letter, 1 uppercase letter, 1 numeric character, and 1 symbol.'));
}
reply(true);
});
Expand Down
2 changes: 1 addition & 1 deletion anchor/server/web/partials/nav.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<a class="nav-link" href="login" style="color:white;">LOGIN</a>
</li>
<li class="nav-item">
<a class="nav-link" href="signup" style="color:white;">SIGNUP</a>
<a class="nav-link" href="signup" style="color:white;">SIGN UP</a>
</li>
</ul>
{{/if}}
Expand Down
2 changes: 1 addition & 1 deletion anchor/server/web/partials/notification.handlebars
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="alert" role="alert" id="alert" style="position: fixed;
top: 7.5%;
left: 10%;
height: 50px;
/* height: 50px; */
width: 80%;
z-index: 999999">
<button type="button" class="close" aria-label="Close" onclick="$('#alert').hide()">
Expand Down
2 changes: 1 addition & 1 deletion anchor/server/web/templates/signup/signup.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="col-xl-6 col-lg-6">
<div class="card">
<div class="card-body">
<h4 class="card-title">Signup</h4>
<h4 class="card-title">Sign Up</h4>
<form id="signupForm">
<div id="signUpFormFields"></div>
<button id="signup" type="submit" class="btn btn-primary">Sign Up</button>
Expand Down