Skip to content

Commit 82694a2

Browse files
replace modal title login with additional info and verification mail alert (#179)
1 parent 6b8bca0 commit 82694a2

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

apps/OpenSign/src/routes/Login.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function Login(props) {
129129
);
130130
if (rolesfiltered.length > 0) {
131131
_currentRole = rolesfiltered[0];
132-
}
132+
}
133133
} else {
134134
const rolesfiltered = userRoles.filter(
135135
(x) => !valuesToExclude.includes(x)
@@ -472,7 +472,7 @@ function Login(props) {
472472
);
473473
if (rolesfiltered.length > 0) {
474474
_currentRole = rolesfiltered[0];
475-
}
475+
}
476476
} else {
477477
const rolesfiltered = userRoles.filter(
478478
(x) => !valuesToExclude.includes(x)
@@ -655,7 +655,6 @@ function Login(props) {
655655
} else {
656656
setThirdpartyLoader(false);
657657
setState({ ...state, loading: false });
658-
659658
}
660659
})
661660
.catch((err) => {
@@ -1171,7 +1170,7 @@ function Login(props) {
11711170
<div className="modal-dialog" role="document">
11721171
<div className="modal-content">
11731172
<div className="modal-header">
1174-
<h5 className="modal-title">Login form</h5>
1173+
<h5 className="modal-title font-semibold">Additional Info</h5>
11751174
<span>
11761175
<span></span>
11771176
</span>
@@ -1227,18 +1226,19 @@ function Login(props) {
12271226
<div className="mt-4">
12281227
<button
12291228
type="button"
1230-
className="bg-[#6c757d] text-sm p-2 text-white rounded uppercase"
1231-
onClick={handleCloseModal}
1232-
style={{ marginRight: 10, width: 90 }}
1229+
className="bg-[#17a2b8] text-sm p-2 text-white rounded uppercase"
1230+
onClick={(e) => handleSubmitbtn(e)}
1231+
style={{ marginRight: 10 }}
12331232
>
1234-
Cancel
1233+
Login
12351234
</button>
12361235
<button
12371236
type="button"
1238-
className="bg-[#17a2b8] text-sm p-2 text-white rounded uppercase"
1239-
onClick={(e) => handleSubmitbtn(e)}
1237+
className="bg-[#6c757d] text-sm p-2 text-white rounded uppercase"
1238+
onClick={handleCloseModal}
1239+
style={{ width: 90 }}
12401240
>
1241-
Login
1241+
Cancel
12421242
</button>
12431243
</div>
12441244
</form>

apps/OpenSign/src/routes/Signup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const Signup = (props) => {
118118
await Parse.User.requestPasswordReset(email).then(
119119
async function (res1) {
120120
if (res1.data === undefined) {
121-
alert("Email has been sent to your mail!");
121+
alert("Verification mail has been sent to your E-mail!");
122122
}
123123
}
124124
);

0 commit comments

Comments
 (0)