Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

high-priority UI fixes #111

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
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