mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
register demo user only when it's absent
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
<. if crate::SETTINGS.allow_demo && crate::SETTINGS.allow_registration { .>
|
||||
<p class="auth__demo-user__banner">
|
||||
Try mCaptcha without joining
|
||||
<br />
|
||||
<span class="auth__demo-user__cred">
|
||||
user: <.= crate::demo::DEMO_USER .>
|
||||
</span>
|
||||
<span class="auth__demo-user__cred">
|
||||
password: <.= crate::demo::DEMO_PASSWORD .>
|
||||
</span>
|
||||
<p class="auth__demo-user__banner">Try mCaptcha without joining<br />
|
||||
<span class="auth__demo-user__cred">user: <.= crate::demo::DEMO_USER .></span>
|
||||
<span class="auth__demo-user__cred">password: <.= crate::demo::DEMO_PASSWORD .></span>
|
||||
</p>
|
||||
<. } .>
|
||||
|
||||
Reference in New Issue
Block a user