Skip to content

Commit 7e8c63f

Browse files
authored
Update Flask secret key fallback value
1 parent d576d6f commit 7e8c63f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/appFlask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from wtforms.validators import DataRequired, Email, NumberRange
1515

1616
app = Flask(__name__)
17-
app.config['SECRET_KEY'] = os.environ.get('FLASK_SECRET_KEY', 'o_cheie_secreta_foarte_puternica_si_aleatorie_123!')
17+
app.config['SECRET_KEY'] = os.environ.get('FLASK_SECRET_KEY', 'your_api_key')
1818

1919
class VixAlertSubscriptionForm(FlaskForm):
2020
email = StringField('Email Address', validators=[DataRequired(message="Email is required."), Email(message="Invalid email address.")])

0 commit comments

Comments
 (0)