aboutsummaryrefslogtreecommitdiffstats
path: root/modules/middleware
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2015-01-30 20:30:07 -0500
committerUnknwon <joe2010xtmf@163.com>2015-01-30 20:30:07 -0500
commitd8394bb2e0703db2dc2a57fea843a526663bb279 (patch)
treeab19ab26ff011fbf7cc5bca3d8be7c2a23a47cb2 /modules/middleware
parentee6786216a608fca2de322c90c7256577f2a500a (diff)
downloadgitea-d8394bb2e0703db2dc2a57fea843a526663bb279.tar.gz
gitea-d8394bb2e0703db2dc2a57fea843a526663bb279.zip
modules/midlleware: little auth code fix
Diffstat (limited to 'modules/middleware')
-rw-r--r--modules/middleware/auth.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/middleware/auth.go b/modules/middleware/auth.go
index 94bb1c14a4..01e2ab5340 100644
--- a/modules/middleware/auth.go
+++ b/modules/middleware/auth.go
@@ -54,7 +54,8 @@ func Toggle(options *ToggleOptions) macaron.Handler {
if strings.HasSuffix(ctx.Req.RequestURI, "watch") {
return
}
- ctx.SetCookie("redirect_to", "/"+url.QueryEscape(setting.AppSubUrl+ctx.Req.RequestURI), 0, setting.AppSubUrl)
+ println(url.QueryEscape(setting.AppSubUrl + ctx.Req.RequestURI))
+ ctx.SetCookie("redirect_to", url.QueryEscape(setting.AppSubUrl+ctx.Req.RequestURI), 0, setting.AppSubUrl)
ctx.Redirect(setting.AppSubUrl + "/user/login")
return
} else if !ctx.User.IsActive && setting.Service.RegisterEmailConfirm {
d/noid/stable29-update-ca-cert-bundle'>automated/noid/stable29-update-ca-cert-bundle Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/apps/federation/l10n/id.json
blob: 312ebac1bb92a9b7d0c527c2bcf10acdf8621fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ "translations": {
    "Added to the list of trusted servers" : "Server telah ditambahkan pada daftar server terpercaya",
    "Server is already in the list of trusted servers." : "Server sudah ada pada daftar server terpercaya",
    "No server to federate with found" : "Tidak ada server yang bisa difederasikan",
    "Could not add server" : "Tidak dapat menambahkan server",
    "Federation" : "Federasi",
    "Federation allows you to connect with other trusted servers to exchange the user directory. For example this will be used to auto-complete external users for federated sharing." : "Federasi memungkinkan Anda untuk terhubung dengan server lainnya yang terpercaya untuk menukar direktori pengguna. Contohnya, ini akan digunakan untuk pengisian-otomatis untuk pengguna eksternal untuk pembagian terfederasi.",
    "Trusted servers" : "Server terpercaya",
    "Add server automatically once a federated share was created successfully" : "Tambah server secara otomatis saat pembagian terfederasi dibuat",
    "+ Add trusted server" : "+ Tambah server terpercaya",
    "Trusted server" : "Server terpercaya",
    "Add" : "Tambah"
},"pluralForm" :"nplurals=1; plural=0;"
}