Skip to content

Commit 4a1e6d1

Browse files
Merge branch 'OpenSignLabs:staging' into issue/168
2 parents be49cb9 + c5a0ff4 commit 4a1e6d1

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

apps/OpenSign/src/components/AppendFormInForm.js

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -241,39 +241,37 @@ const AppendFormInForm = (props) => {
241241
className="px-3 py-2 w-full border-[1px] border-gray-300 rounded focus:outline-none text-xs"
242242
/>
243243
</div>
244-
245244
<div className="mb-3">
246245
<label
247-
htmlFor="phone"
246+
htmlFor="email"
248247
className="block text-xs text-gray-700 font-semibold"
249248
>
250-
Phone
249+
Email
251250
<span style={{ color: "red", fontSize: 13 }}> *</span>
252251
</label>
253252
<input
254-
type="text"
255-
id="phone"
256-
value={phone}
257-
onChange={(e) => setPhone(e.target.value)}
253+
type="email"
254+
id="email"
255+
value={email}
256+
onChange={(e) => setEmail(e.target.value)}
258257
required
259258
disabled={addYourself}
260259
className="px-3 py-2 w-full border-[1px] border-gray-300 rounded focus:outline-none text-xs"
261260
/>
262261
</div>
263-
264262
<div className="mb-3">
265263
<label
266-
htmlFor="email"
264+
htmlFor="phone"
267265
className="block text-xs text-gray-700 font-semibold"
268266
>
269-
Email
267+
Phone
270268
<span style={{ color: "red", fontSize: 13 }}> *</span>
271269
</label>
272270
<input
273-
type="email"
274-
id="email"
275-
value={email}
276-
onChange={(e) => setEmail(e.target.value)}
271+
type="text"
272+
id="phone"
273+
value={phone}
274+
onChange={(e) => setPhone(e.target.value)}
277275
required
278276
disabled={addYourself}
279277
className="px-3 py-2 w-full border-[1px] border-gray-300 rounded focus:outline-none text-xs"

apps/OpenSignServer/files/verification_email.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<br />
1111
<p><a href="{{{link}}}" style="background-color: lightskyblue; cursor: pointer; border-radius: 5px; padding: 10px; border-style: solid; border-width: 2px; text-decoration: none; font-weight: bolder; color:blue">Verify email</a></p>
1212
<br />
13-
<p>ExampleApp</p>
13+
<p><a href="https://www.opensignlabs.com">OpenSign™</a></p>
1414
</body>
1515

16-
</html>
16+
</html>

apps/OpenSignServer/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export const config = {
7373
masterKey: process.env.MASTER_KEY || '', //Add your master key here. Keep it secret!
7474
masterKeyIps: ['0.0.0.0/0', '::1'], // '::1'
7575
serverURL: process.env.SERVER_URL || 'http://localhost:8080/app', // Don't forget to change to https if needed
76-
// verifyUserEmails: true,
76+
verifyUserEmails: true,
7777
publicServerURL: process.env.SERVER_URL || 'http://localhost:8080/app',
7878
// Your apps name. This will appear in the subject and body of the emails that are sent.
7979
appName: 'Open Sign',

0 commit comments

Comments
 (0)