mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 18:15:39 +00:00
add site key form
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
use actix_web::{HttpResponse, Responder};
|
||||
use sailfish::TemplateOnce;
|
||||
|
||||
use crate::pages::TITLE;
|
||||
|
||||
#[derive(Clone, TemplateOnce)]
|
||||
#[template(path = "auth/login/index.html")]
|
||||
struct IndexPage<'a> {
|
||||
@@ -28,7 +30,7 @@ struct IndexPage<'a> {
|
||||
impl<'a> Default for IndexPage<'a> {
|
||||
fn default() -> Self {
|
||||
IndexPage {
|
||||
name: "mCaptcha",
|
||||
name: TITLE,
|
||||
title: "Login",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user