Skip to content

Commit 590f0d2

Browse files
committed
EmailVerification: extend link valid time to 2 hours, and add some user prompts
1 parent 25556d9 commit 590f0d2

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

config/auth.php

+10
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,14 @@
100100
],
101101
],
102102

103+
/*
104+
|--------------------------------------------------------------------------
105+
| Email Verification
106+
|--------------------------------------------------------------------------
107+
|
108+
| Specify an override to the default validation period of the link
109+
*/
110+
'verification' => [
111+
'expire' => 120, // 2 hours, default is 60 minutes.
112+
],
103113
];

resources/views/pages/awaitingApproval.blade.php

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
<p>They'll be giving your information a quick check, and if all is well they'll move your membership on to the next stage.</p>
99
<p>If there are any queries, they will send you an email with more information.</p>
1010
<p>This normally takes no more than 48 hours.</p>
11+
@unless(Auth::user()->hasVerifiedEmail())
12+
<p>
13+
You have not verifiyed your emial address yet. Please check your in-box for a 'Verify Email Address' mail and give the link a quick click.
14+
</p>
15+
@endunless
1116
<p>
1217
<a class="btn btn-primary" href="{{ route('membership.edit', Auth::user()->getId()) }}">Update Details</a>
1318
</p>

resources/views/pages/registrationComplete.blade.php

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<h4>
66
Thank you for registering with Nottingham Hackspace. Here are the next steps.
77
</h4>
8+
<p>
9+
You will have just received an email with a link to verify you emial address. Please check your in-box and give the link a quick click.
10+
</p>
811
<p>
912
Now you have filled in your details, our membership admins will be notified. They'll give your information a quick check, and if all is well they'll move your membership on to the next stage. If there is an issue, they will send you an email with details of what needs correcting.
1013
</p>

0 commit comments

Comments
 (0)