[guadec-web-regcfp/develop] Update country



commit b3bb5b59b9a2d1000401b580858541a7091a6a47
Author: Patrick Uiterwijk <puiterwijk redhat com>
Date:   Fri Jun 19 14:31:00 2015 +0200

    Update country

 routes/registration.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/routes/registration.js b/routes/registration.js
index c7e66ef..4d1c685 100644
--- a/routes/registration.js
+++ b/routes/registration.js
@@ -268,6 +268,7 @@ function handle_registration(req, res, next) {
       } else {
         // Update
         reg.irc = reg_info.irc;
+        reg.country = reg_info.country;
         reg.is_public = reg_info.is_public;
         reg.save().complete(function (err, reg){
           if(!!err) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]