From e0f90104b38a905966c96a2d77a35e41adde9927 Mon Sep 17 00:00:00 2001 From: LongHairedHacker Date: Mon, 14 Sep 2015 21:15:51 +0200 Subject: [PATCH] Moved password to ignored file for securita --- .gitignore | 2 ++ include/user_config.h | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 70674ba..fe95723 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +include/password.h + *.swp *.swo *.bak diff --git a/include/user_config.h b/include/user_config.h index a5773bc..22b1588 100644 --- a/include/user_config.h +++ b/include/user_config.h @@ -3,8 +3,10 @@ #include -static const char wifi_ssid[] = ""; -static const char wifi_password[] = ""; +#include "password.h" + +static const char wifi_ssid[] = WIFI_SSID; +static const char wifi_password[] = WIFI_PASSWORD; static const const uint16_t udp_port = 1337; #endif