Secret URL registration. Closes #1507
parent
9b4f872d61
commit
fefab766ba
@ -0,0 +1,4 @@ |
||||
Meteor.methods |
||||
checkRegistrationSecretURL: (hash) -> |
||||
console.log '[method] checkRegistrationSecretURL'.green, hash |
||||
return hash is RocketChat.settings.get 'Accounts_RegistrationForm_SecretURL' |
@ -0,0 +1,12 @@ |
||||
<template name="blankLayout"> |
||||
<section class="full-page"> |
||||
<div class="wrapper"> |
||||
<header> |
||||
<a class="logo" href="/"> |
||||
<img src="/images/logo/logo.svg?v=3" /> |
||||
</a> |
||||
</header> |
||||
{{> Template.dynamic template=render}} |
||||
</div> |
||||
</section> |
||||
</template> |
@ -0,0 +1,8 @@ |
||||
<template name="invalidSecretURL"> |
||||
<div class="content"> |
||||
<div class="attention-message"> |
||||
<i class="icon-attention"></i> |
||||
{{_ 'Invalid_secret_URL_message'}} |
||||
</div> |
||||
</div> |
||||
</template> |
Loading…
Reference in new issue