summaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorKN4CK3R <KN4CK3R@users.noreply.github.com>2021-04-14 21:43:17 +0200
committerGitHub <noreply@github.com>2021-04-14 20:43:17 +0100
commitcf8f66e5dcebc07fd1975806e94b69ad557a13ed (patch)
treeddaca8efd717a6277c27135f2d4d401b12e21598 /templates/user
parent1426601cf7dd6e2cefca218a84d38905dc1cb295 (diff)
downloadgitea-cf8f66e5dcebc07fd1975806e94b69ad557a13ed.tar.gz
gitea-cf8f66e5dcebc07fd1975806e94b69ad557a13ed.zip
Use subdir for URL (#15446)
Fixes #15444
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/auth/activate.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/auth/activate.tmpl b/templates/user/auth/activate.tmpl
index 7f9021ae4f..cc6f52b571 100644
--- a/templates/user/auth/activate.tmpl
+++ b/templates/user/auth/activate.tmpl
@@ -19,7 +19,7 @@
{{end}}
{{else}}
{{if .NeedsPassword}}
- <form class="ui form" action="/user/activate" method="post">
+ <form class="ui form" action="{{AppSubUrl}}/user/activate" method="post">
<div class="required inline field">
<label for="password">{{.i18n.Tr "password"}}</label>
<input id="password" name="password" type="password" autocomplete="off" required>