[Notice] Announcing the End of Demo Server [Read me]
conf: Make it more clear 'signup.confirm' option
@6f7b0ca97487b1e5b5fd1f5d3939f9f501d91a9e
--- app/controllers/UserApp.java
+++ app/controllers/UserApp.java
... | ... | @@ -841,7 +841,7 @@ |
841 | 841 |
|
842 | 842 |
public static boolean isUseSignUpConfirm(){ |
843 | 843 |
Configuration config = play.Play.application().configuration(); |
844 |
- String useSignUpConfirm = config.getString("signup.require.confirm"); |
|
844 |
+ String useSignUpConfirm = config.getString("signup.require.admin.confirm"); |
|
845 | 845 |
return useSignUpConfirm != null && useSignUpConfirm.equals("true"); |
846 | 846 |
} |
847 | 847 |
|
--- conf/application.conf.default
+++ conf/application.conf.default
... | ... | @@ -21,6 +21,10 @@ |
21 | 21 |
# want to allow that, set signup.require.confirm to true. |
22 | 22 |
application.allowsAnonymousAccess=true |
23 | 23 |
|
24 |
+# If you wants to make the user available to use yona |
|
25 |
+# after the server administrator approved,uncomment below |
|
26 |
+# signup.require.admin.confirm = true |
|
27 |
+ |
|
24 | 28 |
# Notification |
25 | 29 |
# ~~~~~ |
26 | 30 |
# Notfication email is delivered by default. |
... | ... | @@ -168,9 +172,6 @@ |
168 | 172 |
%prod.application.log=INFO |
169 | 173 |
%prod.application.mode=prod |
170 | 174 |
|
171 |
-#if you want to use sign-up is confirmed by site admin, uncomment below |
|
172 |
-#signup.require.confirm = true |
|
173 |
- |
|
174 | 175 |
# User uploaded temporary files cleanup schedule (sec, default 24hour: 24*60*60 = 86400) |
175 | 176 |
# application.temporaryfiles.keep-up.time = 86400 |
176 | 177 |
|
... | ... | @@ -262,4 +263,4 @@ |
262 | 263 |
# Attachment Upload File Size Limit |
263 | 264 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
264 | 265 |
# 2,147,483,454 bytes = 2Gb |
265 |
-application.maxFileSize = 2147483454(No newline at end of file) |
|
266 |
+application.maxFileSize = 2147483454 |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?