Added ability for ystem admin to disable registration.

This commit is contained in:
Brian McGonagill 2023-06-11 12:30:08 -05:00
parent 45b78101c8
commit bc8df48389
10 changed files with 145 additions and 32 deletions

View file

@ -1,5 +1,6 @@
<template name="reg">
{{#if $not currentUser}}
{{#if $eq allowReg true}}
<div id="registrationForm">
<div class="container">
<h4>Register</h4>
@ -47,5 +48,9 @@
</div>
</div>
</div>
{{else}}
<h4>Registration Disabled</h4>
<p class="flow-text">The administrator of this system has disabled registration. If you believe you should be allowed to register to use this system, please contact the system administrator for assistance.</p>
{{/if}}
{{/if}}
</template>