summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/app.ini2
-rw-r--r--conf/gitignore/Java12
-rw-r--r--conf/gitignore/Objective-C7
-rw-r--r--modules/middleware/auth.go2
4 files changed, 21 insertions, 2 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 38b556506f..d805f822d6 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -8,7 +8,7 @@ RUN_MODE = dev
[repository]
ROOT =
-LANG_IGNS = Google Go|C|C++|Python|Ruby|C Sharp
+LANG_IGNS = Google Go|C|C++|Python|Ruby|C Sharp|Java|Objective-C
LICENSES = Apache v2 License|GPL v2|MIT License|Affero GPL|Artistic License 2.0|BSD (3-Clause) License
[server]
diff --git a/conf/gitignore/Java b/conf/gitignore/Java
new file mode 100644
index 0000000000..b7d7dc6d4e
--- /dev/null
+++ b/conf/gitignore/Java
@@ -0,0 +1,12 @@
+*.class
+
+# Mobile Tools for Java (J2ME)
+.mtj.tmp/
+
+# Package Files #
+*.jar
+*.war
+*.ear
+
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
+hs_err_pid* \ No newline at end of file
diff --git a/conf/gitignore/Objective-C b/conf/gitignore/Objective-C
new file mode 100644
index 0000000000..ce88458636
--- /dev/null
+++ b/conf/gitignore/Objective-C
@@ -0,0 +1,7 @@
+# CocoaPods
+#
+# We recommend against adding the Pods directory to your .gitignore. However
+# you should judge for yourself, the pros and cons are mentioned at:
+# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control?
+#
+# Pods/ \ No newline at end of file
diff --git a/modules/middleware/auth.go b/modules/middleware/auth.go
index bde3be7269..39b7796d92 100644
--- a/modules/middleware/auth.go
+++ b/modules/middleware/auth.go
@@ -47,7 +47,7 @@ func Toggle(options *ToggleOptions) martini.Handler {
return
} else if !ctx.User.IsActive && base.Service.RegisterEmailConfirm {
ctx.Data["Title"] = "Activate Your Account"
- ctx.HTML(200, "user/active")
+ ctx.HTML(200, "user/activate")
return
}
}