summaryrefslogtreecommitdiffstats
path: root/templates/user/settings/sshkeys.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/settings/sshkeys.tmpl')
-rw-r--r--templates/user/settings/sshkeys.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/settings/sshkeys.tmpl b/templates/user/settings/sshkeys.tmpl
index 3db0f54bbb..2d1861210b 100644
--- a/templates/user/settings/sshkeys.tmpl
+++ b/templates/user/settings/sshkeys.tmpl
@@ -23,7 +23,7 @@
<p class="print">{{.Fingerprint}}</p>
<p class="activity"><i>{{$.i18n.Tr "settings.add_on"}} {{DateFormat .Created "M d, Y"}} — <i class="octicon octicon-info"></i>{{if .HasUsed}}{{$.i18n.Tr "settings.last_used"}} {{DateFormat .Updated "M d, Y"}}{{else}}{{$.i18n.Tr "settings.no_activity"}}{{end}}</i></p>
</div>
- <form action="/user/settings/ssh" method="post">
+ <form action="{{AppRootSubUrl}}/user/settings/ssh" method="post">
{{$.CsrfTokenHtml}}
<input name="_method" type="hidden" value="DELETE">
<input name="id" type="hidden" value="{{.Id}}">
@@ -35,7 +35,7 @@
</div>
<p>{{.i18n.Tr "settings.ssh_helper" | Str2html}}</p>
<br>
- <form class="panel panel-radius form form-align hide" id="user-ssh-add-form" action="/user/settings/ssh" method="post">
+ <form class="panel panel-radius form form-align hide" id="user-ssh-add-form" action="{{AppRootSubUrl}}/user/settings/ssh" method="post">
{{.CsrfTokenHtml}}
<p class="panel-header"><strong>{{.i18n.Tr "settings.add_new_key"}}</strong></p>
<div class="panel-body">