Debugging

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-04-07 21:22:20 +01:00
parent 3288ddf206
commit 654855ed2e
3 changed files with 11 additions and 5 deletions

View File

@ -26,15 +26,17 @@
<br> <br>
<p>Use the link below to register for OwlBoard (Staff Version)</p> <p>Use the link below to register for OwlBoard (Staff Version)</p>
<br> <br>
<a href="https://owlboard.info/reg/auth.html?>>ACCESSCODE<<" style="color: azure; font-size: larger; background-color: #007979; padding: 8px; padding-left: 12px; padding-right: 12px; text-decoration: none; border-radius: 14px;">Register</a> <a href="https://owlboard.info/auth.html?key=>>ACCESSCODE<<" style="color: azure; font-size: larger; background-color: #007979; padding: 8px; padding-left: 12px; padding-right: 12px; text-decoration: none; border-radius: 14px;">Register</a>
<br><br><br> <br><br><br>
<p>Alternatively copy and paste the link "https://owlboard.info/reg/auth.html?>>ACCESSCODE<<</p> <p>Alternatively copy and paste the link "https://owlboard.info/auth.html?key=>>ACCESSCODE<<</p>
<p>This registration is for one device only, you can register again using the <p>This registration is for one device only, you can register again using the
same email address for other devices and access OwlBoard from both. same email address for other devices and access OwlBoard from both.
</p> </p>
<p>If you did not request to sign up to OwlBoard (Staff Version), you can <p>If you did not request to sign up to OwlBoard (Staff Version), you can
safely ignore this email. The link will expire after 30 minutes. safely ignore this email. Your email address has not been stored by us
will not be required again unless you wish to register again.
</p> </p>
<p>The registration link will expire after 30 minutes.</p>
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -1,7 +1,10 @@
Complete your OwlBoard (Staff) Registration using the link below. Complete your OwlBoard (Staff) Registration using the link below.
https://owlboard.info/ref/auth.html?>>ACCESSCODE<< https://owlboard.info/auth.html?key=>>ACCESSCODE<<
Alternatively you can copy and paste the above link. Alternatively you can copy and paste the above link.
If you did not request to register to OwlBoard then you can safely ignore this email. The link will expire after 30 minutes. If you did not request to register to OwlBoard then you can safely ignore this email.
Your email address has not been stored by us and will not be required unless you wish to register again.
The link will expire after 30 minutes.

View File

@ -28,6 +28,7 @@ async function createRegKey(body) {
} }
async function regUser(req) { // Add input validation async function regUser(req) { // Add input validation
log.out(`Read UUID: ${req.uuid}`, "dbug")
log.out(`registrationServices.regUser: Checking validity of : ${req.uuid}`, "info") log.out(`registrationServices.regUser: Checking validity of : ${req.uuid}`, "info")
const res = await auth.checkRequest(req.uuid) const res = await auth.checkRequest(req.uuid)
log.out(`registrationServices.regUser: checkRequest returned: ${JSON.stringify(res)}`, "info") log.out(`registrationServices.regUser: checkRequest returned: ${JSON.stringify(res)}`, "info")