aboutsummaryrefslogtreecommitdiff
path: root/templates/user/auth
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-04-06 17:20:38 -0400
committerUnknwon <u@gogs.io>2017-04-06 17:20:38 -0400
commit2c404daca612b43bd6b0b720d3e732d9550c0eab (patch)
tree3e547af01e8f0176b0e2e5d5a87353649777871d /templates/user/auth
parent0e271799f2ec744332761cd87fe0d96f4d9653e0 (diff)
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
Diffstat (limited to 'templates/user/auth')
-rw-r--r--templates/user/auth/activate.tmpl2
-rw-r--r--templates/user/auth/forgot_passwd.tmpl2
-rw-r--r--templates/user/auth/login.tmpl2
-rw-r--r--templates/user/auth/reset_passwd.tmpl2
-rw-r--r--templates/user/auth/signup.tmpl2
-rw-r--r--templates/user/auth/two_factor.tmpl2
-rw-r--r--templates/user/auth/two_factor_recovery_code.tmpl2
7 files changed, 7 insertions, 7 deletions
diff --git a/templates/user/auth/activate.tmpl b/templates/user/auth/activate.tmpl
index 8bff54aa..22635653 100644
--- a/templates/user/auth/activate.tmpl
+++ b/templates/user/auth/activate.tmpl
@@ -3,7 +3,7 @@
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{AppSubUrl}}/user/activate" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<h2 class="ui top attached header">
{{.i18n.Tr "auth.active_your_account"}}
</h2>
diff --git a/templates/user/auth/forgot_passwd.tmpl b/templates/user/auth/forgot_passwd.tmpl
index f1c25df5..8b115beb 100644
--- a/templates/user/auth/forgot_passwd.tmpl
+++ b/templates/user/auth/forgot_passwd.tmpl
@@ -3,7 +3,7 @@
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<h2 class="ui top attached header">
{{.i18n.Tr "auth.forgot_password"}}
</h2>
diff --git a/templates/user/auth/login.tmpl b/templates/user/auth/login.tmpl
index b928f2bd..d345bbbe 100644
--- a/templates/user/auth/login.tmpl
+++ b/templates/user/auth/login.tmpl
@@ -3,7 +3,7 @@
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<h3 class="ui top attached header">
{{.i18n.Tr "sign_in"}}
</h3>
diff --git a/templates/user/auth/reset_passwd.tmpl b/templates/user/auth/reset_passwd.tmpl
index cb124f5b..801679e8 100644
--- a/templates/user/auth/reset_passwd.tmpl
+++ b/templates/user/auth/reset_passwd.tmpl
@@ -3,7 +3,7 @@
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<input name="code" type="hidden" value="{{.Code}}">
<h2 class="ui top attached header">
{{.i18n.Tr "auth.reset_password"}}
diff --git a/templates/user/auth/signup.tmpl b/templates/user/auth/signup.tmpl
index 6b59e72d..8fc039ef 100644
--- a/templates/user/auth/signup.tmpl
+++ b/templates/user/auth/signup.tmpl
@@ -3,7 +3,7 @@
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<h3 class="ui top attached header">
{{.i18n.Tr "sign_up"}}
</h3>
diff --git a/templates/user/auth/two_factor.tmpl b/templates/user/auth/two_factor.tmpl
index bbe12abf..b445c778 100644
--- a/templates/user/auth/two_factor.tmpl
+++ b/templates/user/auth/two_factor.tmpl
@@ -3,7 +3,7 @@
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<h3 class="ui top attached center header">
{{.i18n.Tr "auth.login_two_factor"}}
</h3>
diff --git a/templates/user/auth/two_factor_recovery_code.tmpl b/templates/user/auth/two_factor_recovery_code.tmpl
index a9ed17ee..dfe926a9 100644
--- a/templates/user/auth/two_factor_recovery_code.tmpl
+++ b/templates/user/auth/two_factor_recovery_code.tmpl
@@ -3,7 +3,7 @@
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<h3 class="ui top attached center header">
{{.i18n.Tr "auth.login_two_factor_recovery"}}
</h3>